Add Custom Path to your modules
Go to package.json
and look for "_moduleAliases"
key
package.json
"_moduleAliases": {
// "@/*": "core/*", for example
"alias": "path/to/rootDir/moduleDir"
},
"_moduleDirectories": [
// "core"
"path/to/rootDir"
],