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.
jsxPure
1 parent d464e8f commit a6e1ccaCopy full SHA for a6e1cca
packages/plugin-react/src/index.ts
@@ -175,12 +175,6 @@ export default function viteReact(opts: Options = {}): Plugin[] {
175
config.command === 'build' ||
176
config.server.hmr === false
177
178
- if ('jsxPure' in opts) {
179
- config.logger.warnOnce(
180
- '[@vitejs/plugin-react] jsxPure was removed. You can configure esbuild.jsxSideEffects directly.',
181
- )
182
- }
183
-
184
const hooks: ReactBabelHook[] = config.plugins
185
.map((plugin) => plugin.api?.reactBabel)
186
.filter(defined)
0 commit comments