File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
sites/svelte-5-preview/src/lib Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 11<!-- svelte-ignore a11y-label-has-associated-control -->
22<script >
33 import { get_repl_context } from ' $lib/context.js' ;
4+ import Checkbox from ' ../Checkbox.svelte' ;
45
56 const { compile_options } = get_repl_context ();
67 </script >
1617 <input id ="server" type ="radio" bind:group ={$compile_options .generate } value =" server" />
1718 <label for =" server" ><span class =" string" >"server"</span >,</label >
1819 </div >
20+
21+ <label class =" option" >
22+ <span class =" key" >dev:</span >
23+ <Checkbox bind:checked ={$compile_options .dev } />
24+ <span class ="boolean" >{$compile_options .dev }</span >,
25+ </label >
1926 });
2027</div >
2128
Original file line number Diff line number Diff line change 7676
7777 /** @type {import('svelte/compiler').CompileOptions} */
7878 const DEFAULT_COMPILE_OPTIONS = {
79- generate: ' client'
79+ generate: ' client' ,
80+ dev: false
8081 };
8182
8283 /** @type {Map<string, import('@codemirror/state').EditorState>} */
You can’t perform that action at this time.
0 commit comments