Skip to content

Commit

Permalink
fix(plugin-legacy): suppress babel warning during polyfill scan
Browse files Browse the repository at this point in the history
  • Loading branch information
kingyue737 committed Sep 21, 2023
1 parent 881d080 commit f53c6c0
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: true,
presets: [
[
(await import('@babel/preset-env')).default,
Expand Down

0 comments on commit f53c6c0

Please sign in to comment.