Skip to content

Commit

Permalink
Remove any core.js polyfills from modern build
Browse files Browse the repository at this point in the history
  • Loading branch information
dsilhavy committed Jan 12, 2025
1 parent 4884aa0 commit b4af449
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions build/webpack/modern/webpack.modern.base.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,11 @@ modernConfig.module.rules[0].use.push({
sourceType: 'unambiguous',
presets: [
[
'@babel/preset-env',
{
useBuiltIns: 'usage',
corejs: '3.39.0',
}
'@babel/preset-env'
],
],
plugins: [
'@babel/plugin-transform-runtime',
'@babel/plugin-transform-parameters'
'@babel/plugin-transform-runtime'
],
},
},)
Expand Down

0 comments on commit b4af449

Please sign in to comment.