Skip to content

SvelteKit 2.12.1 with @sveltejs/vite-plugin-svelte 4.0.3 return weird server-side results #13179

@Serator

Description

@Serator

Describe the bug

image

At the moment I can't update @sveltejs/vite-plugin-svelte to version 5.x in which everything works fine, but with version 4.0.3 I get output (only on the server side, in the browser everything is ok) as in the screenshot.

Reproduction

https://stackblitz.com/edit/sveltejs-kit-template-default-jnng6k3p?file=src%2Froutes%2F%5Btest%5D%2F%2Bpage.svelte

Logs

No response

System Info

-

Severity

annoyance

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions