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.
esbuild.jsxSideEffects
oxc.jsx.pure
1 parent 31593fe commit feac3afCopy full SHA for feac3af
packages/vite/src/node/plugins/oxc.ts
@@ -702,6 +702,9 @@ export function convertEsbuildConfigToOxcConfig(
702
if (esbuildTransformOptions.jsxDev !== undefined) {
703
jsxOptions.development = esbuildTransformOptions.jsxDev
704
}
705
+ if (esbuildTransformOptions.jsxSideEffects !== undefined) {
706
+ jsxOptions.pure = esbuildTransformOptions.jsxSideEffects
707
+ }
708
709
oxcOptions.jsx = jsxOptions
710
0 commit comments