diff --git a/packages/plugin-react/src/index.ts b/packages/plugin-react/src/index.ts index f96d26cf..9b4d6614 100644 --- a/packages/plugin-react/src/index.ts +++ b/packages/plugin-react/src/index.ts @@ -163,7 +163,7 @@ export default function viteReact(opts: Options = {}): Plugin[] { jsxRefreshExclude: makeIdFiltersToMatchWithQuery(exclude), }, optimizeDeps: { - rollupOptions: { transform: { jsx: { runtime: 'automatic' } } }, + rolldownOptions: { transform: { jsx: { runtime: 'automatic' } } }, }, } }