-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Svelte 5: Several circular dependencies in client runtime modules #10140
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
Comments
17 tasks
I encounter the following circular dependencies:
|
22 tasks
I encounter the following circular dependencies after upgrading from svelte 4 to svelte 5:
I don't know whether it makes a difference for this purpose, but my project is an electronjs app. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Not a bug, per se, but there are several circular dependencies among various files in the browser runtime. Here are a few that I observed in a project. There may be others that present themselves if you use more of Svelte's runtime.
If it comes down to it, I suppose we could suppress these warnings in our official tooling, but it would be nicer not to have the cycles at all if possible, for people with a more homegrown setup.
Reproduction
Attempt to bundle a Svelte 5 app directly with Rollup rather some other higher level tool, without suppressing
CIRCULAR_DEPENDENCY
warnings, and observe them at build time.Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: