diff --git a/.changeset/fast-berries-shake.md b/.changeset/fast-berries-shake.md new file mode 100644 index 000000000000..07ae891efd08 --- /dev/null +++ b/.changeset/fast-berries-shake.md @@ -0,0 +1,5 @@ +--- +'@sveltejs/kit': patch +--- + +fix: set runes option in generated root diff --git a/packages/kit/src/core/sync/write_root.js b/packages/kit/src/core/sync/write_root.js index 9115d74c1715..af8cf889bc32 100644 --- a/packages/kit/src/core/sync/write_root.js +++ b/packages/kit/src/core/sync/write_root.js @@ -39,6 +39,7 @@ export function write_root(manifest_data, output) { `${output}/root.svelte`, dedent` + ${isSvelte5Plus() ? '' : ''}