We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b41dc5 commit 73a45a5Copy full SHA for 73a45a5
packages/plugin-react-oxc/src/index.ts
@@ -62,6 +62,14 @@ export default function viteReact(opts: Options = {}): PluginOption[] {
62
},
63
}
64
65
+ options() {
66
+ if (!this.meta.rolldownVersion) {
67
+ throw new Error(
68
+ '@vitejs/plugin-react-oxc requires rolldown-vite to be used. ' +
69
+ 'See https://vitejs.dev/guide/rolldown for more details about rolldown-vite.',
70
+ )
71
+ }
72
+ },
73
74
75
const viteRefreshRuntime: Plugin = {
0 commit comments