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
Fix import with wrong extension #15952
Conversation
Build successful! You can test your changes in the REPL here: https://babeljs.io/repl/build/55444/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The import/no-unresolved
rule is disabled by default, since it requires a custom import resolver, so the eslint-plugin-import
can't do much here. We can create own own rule just to disable vendor/**/*.ts
imports. I think tsc
should have warned though, at least for non-type imports.
@JLHwung Now that we use paths with the full extension, |
Well it seems that it can't resolve relative path without further config. |
The problem is that file is auto-generated by |
👍 In that case we should add it to the artifacts: |
Fixes #1, Fixes #2
This is a .js file. It's unfortunate that neither ESLint's
import
plugin neither TS complain.