Skip to content

Commit

Permalink
specify core-js version for @babel/preset-env
Browse files Browse the repository at this point in the history
  • Loading branch information
klarstrup committed Mar 22, 2019
1 parent 5022779 commit 11b5d7b
Showing 1 changed file with 13 additions and 9 deletions.
22 changes: 13 additions & 9 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
const presets = [
["@babel/preset-env", {
targets: {
browsers: ["> 3%", "IE 11"],
node: 8
},
useBuiltIns: "usage"
}]
[
'@babel/preset-env',
{
targets: {
browsers: ['> 3%', 'IE 11'],
node: 8
},
corejs: 3,
useBuiltIns: 'usage'
}
]
];

module.exports = {
presets
};
};

0 comments on commit 11b5d7b

Please sign in to comment.