File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ export default function viteReact(opts: Options = {}): PluginOption[] {
141141 return [
142142 {
143143 tag : 'script' ,
144- attrs : { type : 'module' , async : ' true' } ,
144+ attrs : { type : 'module' , async : true } ,
145145 children : getPreambleCode ( config . server ! . config . base ) ,
146146 } ,
147147 ]
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ const react = (_options?: Options): PluginOption[] => {
147147 return [
148148 {
149149 tag : 'script' ,
150- attrs : { type : 'module' , async : ' true' } ,
150+ attrs : { type : 'module' , async : true } ,
151151 children : getPreambleCode ( config . server ! . config . base ) ,
152152 } ,
153153 ]
Original file line number Diff line number Diff line change @@ -366,7 +366,7 @@ export default function viteReact(opts: Options = {}): PluginOption[] {
366366 return [
367367 {
368368 tag : 'script' ,
369- attrs : { type : 'module' , async : ' true' } ,
369+ attrs : { type : 'module' , async : true } ,
370370 children : getPreambleCode ( config . server ! . config . base ) ,
371371 } ,
372372 ]
You can’t perform that action at this time.
0 commit comments