Closed tsanyqudsi closed 3 years ago
oh and, could you prettify the config ? it gets minified with your script.
just a suggestion, maybe you could change
to
writeFile(`${file}`, JSON.stringify(data, null, 2), (error) => {
Sorry for the late Comment! Github doesnt show activity for me...
I will get it done today, thanks for the report!
Fixed in v0.8.3
Hi,
I've noticed the problem when i use
import object from '@path/component'
. Apparently VS Code didn't recognize the module.After i check, seems like your config generator forgot to add
/*
for every alias path. Thus we have errors on VS Code.example : the path generated :
"@components" : ["/home/foo/bar/components"]
what should be generated :"@components/*" : ["/home/foo/bar/components/*"]