-
Notifications
You must be signed in to change notification settings - Fork 5
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 when building with rollup #2
Comments
This package uses pure CommonJS, which allows circular |
I should clarify that we are using https://github.com/rollup/rollup-plugin-commonjs to bundle your library. Here is the error that I am seeing at runtime:
Happy to produce a minimum reproduction if you think it might be helpful. |
Instead of the circular require, |
#16 might help as it does not have any circular dependencies. |
I had to comment out
custom.js
in order to package this up with rollup, as it seems like this circular dependency is not getting resolved correctly:https://github.com/benjamn/arson/blob/master/custom.js#L11
Is there a way that we'd be able to reorganize the code to not make this a problem? Happy to submit a PR if we can come up with a solution.
The text was updated successfully, but these errors were encountered: