File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed
sites/svelte-5-preview/src/lib Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change 33
33
<Checkbox bind:checked ={$compile_options .dev } />
34
34
<span class ="boolean" >{$compile_options .dev }</span >,
35
35
</label >
36
+
37
+ <label class =" option" >
38
+ <span class =" key" >hmr:</span >
39
+ <Checkbox bind:checked ={$compile_options .hmr } />
40
+ <span class ="boolean" >{$compile_options .hmr }</span >,
41
+ </label >
36
42
});
37
43
</div >
38
44
45
+ <div class =" note" >
46
+ <p >
47
+ note: these options affect the JS output tab, but not the bundle that executes in the Result
48
+ tab.
49
+ </p >
50
+ </div >
51
+
39
52
<style >
40
53
.options {
41
54
padding : 0 10px ;
132
145
border : 1px solid var (--sk-theme-2 );
133
146
transition : box-shadow 0.2s ease-out ;
134
147
}
148
+
149
+ .note {
150
+ padding : 10px ;
151
+ }
152
+
153
+ .note p {
154
+ font-size : 1.4rem ;
155
+ text-wrap : balance ;
156
+ }
135
157
</style >
Original file line number Diff line number Diff line change 78
78
const DEFAULT_COMPILE_OPTIONS = {
79
79
generate: ' client' ,
80
80
dev: false ,
81
+ hmr: false ,
81
82
css: ' external'
82
83
};
83
84
You can’t perform that action at this time.
0 commit comments