We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use typescript config paths.
paths
"paths" : { "@util/*": ["src/util/*"] } Like this
The text was updated successfully, but these errors were encountered:
Good Luck
Sorry, something went wrong.
microsoft/TypeScript#10866 https://stackoverflow.com/questions/52121725/maintain-src-folder-structure-when-building-to-dist-folder-with-typescript-3
Looks like it's impossible when you use it for backend. I considered using some libs like ts-module-paths but it can only be used in development
Here is a quote from microsoft/TypeScript#10866:
"paths" is designed for use with loaders that allow remapping, unlike the Node.js require().
You may not have known this because you only used "paths" option with TypeScript in next.js projects that supports path remapping via webpack
zero734kr
No branches or pull requests
Use typescript config
paths
.The text was updated successfully, but these errors were encountered: