Skip to content

Commit ce2f41d

Browse files
committed
chore: cleanup
1 parent 594f42b commit ce2f41d

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

packages/plugin-react/src/index.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -507,16 +507,6 @@ export default function viteReact(opts: Options = {}): Plugin[] {
507507
}
508508
},
509509
},
510-
transformIndexHtml() {
511-
if (!skipFastRefresh && !isFullBundle)
512-
return [
513-
// {
514-
// tag: 'script',
515-
// attrs: { type: 'module' },
516-
// children: getPreambleCode(base),
517-
// },
518-
]
519-
},
520510
}
521511

522512
return [

0 commit comments

Comments
 (0)