diff --git a/babel.config.js b/babel.config.js index ea08acf..4a8cb81 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,11 +1,17 @@ module.exports = { - presets: [['@babel/preset-env', { targets: { node: 'current' } }]], + presets: [ + ['@babel/preset-env', { + targets: { + browsers: ['ie 11'] + } + }] + ], plugins: [ - ['@babel/plugin-proposal-object-rest-spread'], ['@babel/plugin-transform-runtime', { regenerator: true, corejs: 3 - }] + } + ] ] }