-
-
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
rule import/no-unresolved support exports
field in package.json
#2495
Comments
This plugin uses It's a best practice, for backwards compatibility, to have your exports LHS map to a RHS that pre-exports node would be able to resolve - doing so would make things Just Work with this plugin in the meantime. |
Possible duplicate of #2132. |
Try another resolver: |
duplicate of #1810 |
the package
@dian/dn
has an exports like:it's working as expected, but eslint is reporting an error:
1:8 error Unable to resolve path to module '@dian/dn/serve' import/no-unresolved
The text was updated successfully, but these errors were encountered: