You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(!) Plugin node-resolve: Could not resolve import "dummy-exported/foo.js" in /tmp/a/src/main.js using exports defined in /tmp/a/node_modules/dummy-exported/package.json.
(!) Unresolved dependencies
https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
dummy-exported/foo.js (imported by "src/main.js")
Additional Information
See linked repository to reproduce the issue. You can also see that the exports section is correct, because Node can resolve the module correctly (see by running inside the example):
node ./src/main.js
The text was updated successfully, but these errors were encountered:
Expected Behavior
Rollup can resolve exports with extensions like:
with exports like this:
Actual Behavior
Additional Information
See linked repository to reproduce the issue. You can also see that the exports section is correct, because Node can resolve the module correctly (see by running inside the example):
The text was updated successfully, but these errors were encountered: