diff --git a/packages/preset-built-in/src/plugins/features/mfsu/mfsu.ts b/packages/preset-built-in/src/plugins/features/mfsu/mfsu.ts index fbe5f19dae81..40641b670929 100644 --- a/packages/preset-built-in/src/plugins/features/mfsu/mfsu.ts +++ b/packages/preset-built-in/src/plugins/features/mfsu/mfsu.ts @@ -272,6 +272,7 @@ export default function (api: IApi) { opts.presets?.forEach((preset) => { if (preset instanceof Array && /babel-preset-umi/.test(preset[0])) { preset[1].env.useBuiltIns = false; + preset[1].env.corejs = false; } }); opts.plugins = [