You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We were using inlineStyleThreshold to inline css before migration from svelte 4 to svelte 5. With this migration, we also updated sveltekit from 2.15.2 to the latest version.
This broke inline css for the cases where components are dynamically imported.
Came across this PR #13068
where we are filtering out dynamic imported stylesheets. But the case where components are dynamically imported during SSR, it should be considered to be inlined.
please update the initial description to add the relevant information from the previous bugreport in svelte repo to help sveltekit maintainers quickly understand.
Describe the bug
As mentioned in sveltejs/svelte#15496
We were using inlineStyleThreshold to inline css before migration from svelte 4 to svelte 5. With this migration, we also updated sveltekit from 2.15.2 to the latest version.
This broke inline css for the cases where components are dynamically imported.
Came across this PR #13068
where we are filtering out dynamic imported stylesheets. But the case where components are dynamically imported during SSR, it should be considered to be inlined.
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-ethyrdbh
Logs
System Info
Severity
annoyance
Additional Information
No response
The text was updated successfully, but these errors were encountered: