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 d1c9110 commit 6e2e0a4Copy full SHA for 6e2e0a4
packages/plugin-react/src/index.ts
@@ -195,6 +195,7 @@ export default function viteReact(opts: Options = {}): PluginOption[] {
195
// Avoid parsing if no special transformation is needed
196
if (
197
!plugins.length &&
198
+ !babelOptions.presets.length &&
199
!babelOptions.configFile &&
200
!babelOptions.babelrc
201
) {
0 commit comments