Skip to content

Commit aae3a83

Browse files
authored
fix(legacy): suppress babel warning during polyfill scan (#14425)
1 parent 536631a commit aae3a83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/plugin-legacy/src/index.ts

+1
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,7 @@ export async function detectPolyfills(
630630
ast: true,
631631
babelrc: false,
632632
configFile: false,
633+
compact: false,
633634
presets: [
634635
[
635636
(await import('@babel/preset-env')).default,

0 commit comments

Comments
 (0)