Skip to content

Conversation

JReinhold
Copy link
Collaborator

@JReinhold JReinhold commented Jul 3, 2025

In Svelte v5.35.1 sveltejs/svelte#16255 introduced a change to the compiled output of a component. This change broke how we're injecting parameters.__svelteCsf.rawCode into stories.

For now we're just silently handling the situation where that is now undefined at runtime, to not block rendering or testing a story.

This does mean however that generated code snippets are now broken in Svelte 5.35.1 and up, and we need a longer term fix for that.

Filed in #320

@JReinhold JReinhold self-assigned this Jul 3, 2025
@JReinhold JReinhold added bug Something isn't working patch Increment the patch version when merged labels Jul 3, 2025
@JReinhold JReinhold merged commit e58ee51 into main Jul 3, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working patch Increment the patch version when merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant