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 3a408a0 commit 0819f8cCopy full SHA for 0819f8c
packages/plugin-react/src/index.ts
@@ -149,6 +149,11 @@ export default function viteReact(opts: Options = {}): PluginOption[] {
149
'[@vitejs/plugin-react] Support for classic runtime is deprecated.',
150
)
151
}
152
+ if ('jsxPure' in opts) {
153
+ config.logger.warnOnce(
154
+ '[@vitejs/plugin-react] jsxPure was removed. You can configure esbuild.jsxSideEffects directly.',
155
+ )
156
+ }
157
158
runPluginOverrides = (babelOptions, context) => {
159
const hooks = config.plugins
0 commit comments