Skip to content

Commit

Permalink
fix: 修复 babel 配置 (#3371)
Browse files Browse the repository at this point in the history
Co-authored-by: liufu.lf <liufu.lf@antfin.com>
  • Loading branch information
lxfu1 and liufu.lf committed Apr 13, 2021
1 parent e29a16a commit 2d1ef8d
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,7 @@ module.exports = {
{
loader: 'babel-loader',
options: {
presets: [
'@babel/preset-env',
{
targets: {
browsers: ['> 1%', 'last 2 versions'],
},
},
],
presets: [['@babel/preset-env', { targets: 'ie 11' }]],
},
},
{
Expand Down

0 comments on commit 2d1ef8d

Please sign in to comment.