Skip to content

Commit

Permalink
fix @babel/preset-env browsers config
Browse files Browse the repository at this point in the history
  • Loading branch information
yutingzhao1991 committed Jun 15, 2018
1 parent 7d3cdce commit 01a1afb
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 01a1afb

Please sign in to comment.