-
-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
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
Path mapping resolution support? #294
Comments
As i understand it Out of that came the tsconfig-paths package that acts as a plugin that you can use with |
I personally don't have any desire to implement this in |
@blakeembrey I did a PR adding |
I've created a compile-time solution. https://github.com/joonhocho/tscpaths |
According to these issues:
, TypeScript preserves the original module specifier when they are actually resolved via path mapping. But this will prevent
ts-node
to execute such code. A demo is here.The TS team has said that they won't change this, since making such code running is non of their business. So what is
ts-node
's attitude towards this?The text was updated successfully, but these errors were encountered: