-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
Svelte 5 next.179 breaks css on page navigation HMR #12381
Comments
Some of my Runes project are broken. 178 works but 179 breaks them.
Another error:
|
Can you provide a minimal reproduction? |
I believe this might be related to an outstanding issue with HMR—temporarily disabling it in svelte.config.js fixed various weird issues for me: const config = {
compilerOptions: {
hmr: false
}
} |
Did some further checking. My project works on next.178 but not 179. Currently working on making a reproduction repo. |
I tried creating a sveltekit app with the same tailwind config, but haven't been able to reproduce the issue yet. Currently attempting in https://github.com/mrxbox98/svelte-css-reproduction. |
Describe the bug
All css stops working on a page navigation in next.179. I upgraded from 175 (which was working) and this error appeared. Reverting to 175 worked properly. I use tailwindCSS. Nothing of importance was in the console.
The bug only occured in dev mode.
Reproduction
I couldn't figure out how to have page navigation svelte.dev.
Logs
No response
System Info
Severity
blocking an upgrade
The text was updated successfully, but these errors were encountered: