diff --git a/packages/plugin-legacy/src/index.ts b/packages/plugin-legacy/src/index.ts index eb5dbb0752756f..4fcdb2c11ddc16 100644 --- a/packages/plugin-legacy/src/index.ts +++ b/packages/plugin-legacy/src/index.ts @@ -630,6 +630,7 @@ export async function detectPolyfills( ast: true, babelrc: false, configFile: false, + compact: false, presets: [ [ (await import('@babel/preset-env')).default,