diff --git a/babel.config.js b/babel.config.js index b35ecc35..e629ebbe 100644 --- a/babel.config.js +++ b/babel.config.js @@ -3,17 +3,18 @@ module.exports = (api) => { const config = { presets: [ [ - '@babel/env', + '@babel/preset-env', { - exclude: ['transform-typeof-symbol'], + exclude: [ + '@babel/plugin-transform-async-to-generator', + '@babel/plugin-transform-regenerator', + '@babel/plugin-transform-typeof-symbol', + ], }, ], ], plugins: [ - '@babel/plugin-transform-regenerator', '@babel/plugin-transform-runtime', - '@babel/plugin-proposal-class-properties', - '@babel/plugin-proposal-private-methods', ], }; diff --git a/package.json b/package.json index c087ccb1..f93f7ade 100644 --- a/package.json +++ b/package.json @@ -87,11 +87,5 @@ }, "files": [ "dist" - ], - "browserslist": [ - "last 1 versions", - "chrome >= 55", - "safari >= 10", - "ie >= 9" ] }