-
Notifications
You must be signed in to change notification settings - Fork 15
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
Circular dependency issue #58
Comments
@renataogarcia The bugfix is included in the release |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting a circular dependency warning on eventemitter3, which causes the bundle to fail.
I've reported the issue here, but later found that it only happens if I'm using
rollup-plugin-swc3
plugin, and it works fine with@rollup/plugin-typescript
and@rollup/plugin-swc
. Plain JS also works fine.On
eventemitter3
the index.mjs ESM wrapper imports index.js. The other plugins resolveindex.js
toindex.js
howeverrollup-plugin-swc3
resolves it toindex.mjs
. Which causes the circular dependency problem.I was able to workaround it and make it work by changing the order in the
extensions
configuration. However, I was wondering if this is a bug since onlyrollup-plugin-swc3
behaves this way.The text was updated successfully, but these errors were encountered: