Hi there!
I am using shortcut paths in my tsconfig.json file. For example:
{
"compilerOptions": {
...
"paths": {
"@app/*": ["./src/*"],
}
}
}
Paths are not expanded/resolved in transpiled code. This is a known feature/bug of Typescript microsoft/TypeScript#26722
There are a few workarounds as discussed in the issue above. One suggestion is to resolve the problem at the level of the output bundler (e.g. webpack and, in our case, this plugin).
I was just wondering if this plugin could resolve shortcuts before/after transpiling the code.
thanks
Hi there!
I am using shortcut paths in my
tsconfig.jsonfile. For example:{ "compilerOptions": { ... "paths": { "@app/*": ["./src/*"], } } }Paths are not expanded/resolved in transpiled code. This is a known feature/bug of Typescript microsoft/TypeScript#26722
There are a few workarounds as discussed in the issue above. One suggestion is to resolve the problem at the level of the output bundler (e.g. webpack and, in our case, this plugin).
I was just wondering if this plugin could resolve shortcuts before/after transpiling the code.
thanks