-
Notifications
You must be signed in to change notification settings - Fork 11
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
optional check importing file existing? #37
Comments
So I think I'm also seeing this issue. I'm building my project as an ESModule so all my import statements are written as This then fails to replace any imports. @jonkwheeler I would be up for having a crack at resolving this if you want? Unless there are any reasons you have for not supporting this case? |
Sure, give it a shot. If it works on my repos, I'll merge it. |
@jonkwheeler suggested fix here #39 |
Merged. I released Version 0.0.12 |
@jonkwheeler Previous fix didn't quite solve the problem as it forgot to re-add the ext in the replacement - updated fix #41 |
tsconfig-replace-paths/src/index.ts
Lines 175 to 182 in 71b7260
it'll check importing files, but i don't want this action...
because i need import another module file extension name with
.js
instead.ts
, even it doesn't exist.The text was updated successfully, but these errors were encountered: