Closed nnals closed 5 years ago
Here's my jsconfig.json
for VSCode:
{
"compilerOptions": {
"baseUrl": ".",
"target": "es6",
"module": "commonjs",
"paths": {
"@components/*": ["./src/components/*"],
"@constants/*": ["./src/constants/*"],
"@helpers/*": ["./src/helpers/*"]
}
},
"include": [
"src/**/*"
]
}
intellisense is a bit slow but it works. thank you, @cbdeveloper!
No problem! I also find it a little bit slow. But works! Even on auto imports.
Hello,
I am a bit confused about what VSCode's jsonfig.json file has to look like for intellisense to work properly.
I have the following babel config:
This allows me to
import Foo from 'components/foo'
instead of e.g.import Foo from '../components/foo'
And I (unsuccessfully) tried the following for jsonfig.json:
Could some help me with this?
Thanks a lot! Nicolai