Skip to content

Commit 79eefce

Browse files
committed
fix: fix jsx preserve and wait for vitejs/rolldown-vite#376
1 parent 904f10a commit 79eefce

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugin-react/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ export default function viteReact(opts: Options = {}): Plugin[] {
152152
return {
153153
oxc: {
154154
jsx: {
155+
runtime: 'automatic',
155156
importSource: opts.jsxImportSource,
156157
refresh: command === 'serve',
157158
},

0 commit comments

Comments
 (0)