vscode-js-import
vscode-js-import copied to clipboard
Multiples alias
There is a way to avoid doing that ?
"javascript.updateImportsOnFileMove.enabled": "always",
"javascript.preferences.importModuleSpecifier": "non-relative",
"js-import.root": "/src",
"js-import.alias": {
"app/components": "/src/components",
"app/styles": "/src/styles",
"app/screens": "/src/screens",
"app/images": "/src/images",
"app/configs": "/src/configs",
"app/hooks": "/src/hooks",
"app/i18n": "/src/i18n",
"app/lotties": "/src/lotties",
},
}```
@fukhaos you means you want a regexp config ?
Maybe or something like:
"js-import.alias": { "app/*": "/src/*",
...
@fukhaos Currently i have no plan for this but i think it is feasible. Webpack and jest have different way to realize the feature