Example in file at path has the below import:
src
-abc
-def
ghi
--hello.jsx
words.js
(ghi folder and words.js are in the dir 'def')
```
In src/abc/def/ghi/hello.jsx:
import words from '../words';
--> Throws error "Cannot resolve module ../words
My .flowconfig
[ignore]
./node_modules/.
./build/.
./dist/.
[include]
./src/.
./test/.
[libs]
flow-typed
[lints]
[options]
all=true
module.system.node.resolve_dirname=node_modules
module.system.node.resolve_dirname=src
module.name_mapper='^/(.*)$' -> '
[strict]
```
Please help how to resolve '../words',
Thanks in advance.
Why was this closed without any comment?
Most helpful comment
Why was this closed without any comment?