Skip to content

Commit a7f8bdc

Browse files
authored
fix: set runes option in generated root (#11111)
1 parent b6c7e8b commit a7f8bdc

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/fast-berries-shake.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@sveltejs/kit': patch
3+
---
4+
5+
fix: set runes option in generated root

packages/kit/src/core/sync/write_root.js

+1
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ export function write_root(manifest_data, output) {
3939
`${output}/root.svelte`,
4040
dedent`
4141
<!-- This file is generated by @sveltejs/kit — do not edit it! -->
42+
${isSvelte5Plus() ? '<svelte:options runes={true} />' : ''}
4243
<script>
4344
import { setContext, ${isSvelte5Plus() ? '' : 'afterUpdate, '}onMount, tick } from 'svelte';
4445
import { browser } from '$app/environment';

0 commit comments

Comments
 (0)