Skip to content

Commit

Permalink
fix: set runes option in generated root (#11111)
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Nov 23, 2023
1 parent b6c7e8b commit a7f8bdc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fast-berries-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

fix: set runes option in generated root
1 change: 1 addition & 0 deletions packages/kit/src/core/sync/write_root.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export function write_root(manifest_data, output) {
`${output}/root.svelte`,
dedent`
<!-- This file is generated by @sveltejs/kit — do not edit it! -->
${isSvelte5Plus() ? '<svelte:options runes={true} />' : ''}
<script>
import { setContext, ${isSvelte5Plus() ? '' : 'afterUpdate, '}onMount, tick } from 'svelte';
import { browser } from '$app/environment';
Expand Down

0 comments on commit a7f8bdc

Please sign in to comment.