Skip to content

Commit

Permalink
feat: 修复 @babel/preset-env 中 corejs
Browse files Browse the repository at this point in the history
  - The `corejs` option only has an effect
  - when the `useBuiltIns` option is not `false`
  • Loading branch information
imsunhao committed Sep 24, 2019
1 parent b037807 commit d03e25a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/config/webpack.config.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ export const babelLoder = {
{
targets: {
node: 'current'
},
corejs: { version: 3 }
}
}
]
]
Expand Down

0 comments on commit d03e25a

Please sign in to comment.