-
Notifications
You must be signed in to change notification settings - Fork 16
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
ts-transform-paths doesn't work with module set to commonjs #1
Comments
Yes, require not supported, do you now any ts transform examples with correct require detect? |
Try 1.2.0 |
Hi, I tried, not working either. .d.ts work fine, but .js is not. This is the sample repo. Thanks for your help! |
Check 1.2.2 |
It's work now! Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As title, set module as commonjs in compiler options, it won't replace path in require.
If I change module to esnext, it work great.
Can you take a look? Or I missing something?
Thank you!
The text was updated successfully, but these errors were encountered: