-
Notifications
You must be signed in to change notification settings - Fork 50
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
When compiled with Rollup, shows warnings: Circular dependency #42
Comments
It is a problem, and will make code unexecutable after "rolling up". |
This is the same thing as here: nodejs/readable-stream#348 |
Is anyone found a solution or workaround as for rollup/rollup#1507 (comment) |
You could either restructure the module to remove the circular dependencies, or you could use the new rollup feature when the next release is out. |
Any update on this? |
It's up to you when configuring rollup, to set up In the next commonjs release there will be out of the box handling of circular dependencies for most situations. |
Do you have any links? |
Google rollup commonjs... |
any update on this?
It just brings to the message: |
You may have mixed module types. In this case set |
What's the status on this? Rollup still can't package any project which depends on sshpk:
Neither |
You also need to include your entry point into |
indeed solved the issue without needing any dynamicRequireTargets, thanks @perrin4869! You mentioned it could alternatively be solved by including an entry point, can you develop that point? I wish I could solve this without relying on beta versions of rollup :) |
Well, this won't be in beta much longer haha
This is because |
Hello
When this module is listed as a dependency and compiled with Rollup, this shows the following warnings:
I don't know if it is a problem or not.
The text was updated successfully, but these errors were encountered: