Skip to content

Commit

Permalink
Merge pull request umijs#632 from umijs/yu-fixpreset
Browse files Browse the repository at this point in the history
fix @babel/preset-env browsers config
  • Loading branch information
sorrycc authored Jun 15, 2018
2 parents a718e46 + 01a1afb commit 2c586b9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@ const browserBabelConfig = {
[
require.resolve('@babel/preset-env'),
{
browsers: ['last 2 versions', 'IE 10'],
targets: {
browsers: ['last 2 versions', 'IE 10'],
},
},
],
require.resolve('@babel/preset-react'),
Expand Down

0 comments on commit 2c586b9

Please sign in to comment.