-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Cannot resolve imports with subpaths #3076
Comments
That's because we don't support Separately, your |
Just a question - I get similar error, but related to package imports:
Seems that package imports also not supported by the node resolver? |
@zdm yes, |
Webpack uses https://github.com/webpack/enhanced-resolve. |
Or use built-in possibilities:
|
@ljharb hey! So would you recommend simply disabling the rule locally for those imports until |
@dahaca if you can't persuade the package maintainer to add |
I cannot get it working with any subpath imports, e.g.
some-file.tsx:
leads to an error:
At the same time, TypeScript works and doesn't find any issues.
ESLint config:
.eslintrc.js:
This is a part of package.json of
package
:ESLint: 8.x
The text was updated successfully, but these errors were encountered: