diff --git a/babel-without-polyfill.config.json b/babel-without-polyfill.config.json index be91d70..43cdbcb 100644 --- a/babel-without-polyfill.config.json +++ b/babel-without-polyfill.config.json @@ -11,7 +11,12 @@ "@babel/preset-typescript" ], "plugins": [ - "@babel/plugin-transform-runtime", + [ + "@babel/plugin-transform-runtime", + { + "regenerator": false + } + ], "@babel/plugin-proposal-class-properties", "@babel/plugin-proposal-object-rest-spread", "@babel/plugin-proposal-optional-chaining", diff --git a/webpack.config.js b/webpack.config.js index a9b7105..b609558 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -6,7 +6,8 @@ const isDevelopment = env === 'development'; const analyzer = process.env.ANALYZER; const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; -const babelOptions = require('./babel.config.json'); +let babelOptions = require('./babel.config.json'); +// babelOptions = require('./babel-without-polyfill.config.json'); const webpackConfig = { entry: {