-
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] does not work for .js imports #27
Comments
Probably solved in #28 |
We are actually experiencing a similar issue but with a In our scenario we having the following in our
In one of our files we have the following:
Which is getting transformed to the following js:
So we can see one of the import syntax in the same file is working, the other is not. aside: The |
@zerkalica I'm sorry, but this does not seem to be fixed in 1.7.13 / #28 |
@Borvik, @falkenhawk , does 1.7.15 or 1.7.16 solves problem? |
I tried |
https://github.com/IgorSzymanski/ts-transform-paths-bug-repro I created a minimal reproduction. Still doesn't work for me. v. |
add "tryLoadJs": true to plugin options |
having e.g.
src/helpers/time.js
and insrc/modules/index.ts
:it's not transformed to
require('../helpers/time');
but left out asrequire('helpers/time')
... which breaks executionThe text was updated successfully, but these errors were encountered: