Skip to content

Commit

Permalink
fix(legacy): suppress babel warning during polyfill scan (#14425)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingyue737 authored Sep 21, 2023
1 parent 536631a commit aae3a83
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/plugin-legacy/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -630,6 +630,7 @@ export async function detectPolyfills(
ast: true,
babelrc: false,
configFile: false,
compact: false,
presets: [
[
(await import('@babel/preset-env')).default,
Expand Down

0 comments on commit aae3a83

Please sign in to comment.