File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export default function viteReact(opts: Options = {}): Plugin[] {
5757 jsxImportDevRuntime ,
5858 jsxImportRuntime ,
5959 ] ,
60- rollupOptions : { transform : { jsx : { runtime : 'automatic' } } } ,
60+ rolldownOptions : { transform : { jsx : { runtime : 'automatic' } } } ,
6161 } ,
6262 }
6363 } ,
Original file line number Diff line number Diff line change @@ -126,7 +126,9 @@ const react = (_options?: Options): Plugin[] => {
126126 include : [ `${ options . jsxImportSource } /jsx-dev-runtime` ] ,
127127 ...( 'rolldownVersion' in vite
128128 ? {
129- rollupOptions : { transform : { jsx : { runtime : 'automatic' } } } ,
129+ rolldownOptions : {
130+ transform : { jsx : { runtime : 'automatic' } } ,
131+ } ,
130132 }
131133 : { esbuildOptions : { jsx : 'automatic' } } ) ,
132134 } ,
You can’t perform that action at this time.
0 commit comments