diff --git a/babel.config.js b/babel.config.js index fa21b0fe..3282cb8a 100644 --- a/babel.config.js +++ b/babel.config.js @@ -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 -}; \ No newline at end of file +};