diff --git a/lib/build/webpack/base.config.js b/lib/build/webpack/base.config.js index a48bef015e..a2d9f64ac3 100644 --- a/lib/build/webpack/base.config.js +++ b/lib/build/webpack/base.config.js @@ -64,6 +64,10 @@ module.exports = function () { loader: 'babel-loader', exclude: /node_modules/, query: defaults(this.options.build.babel, { + plugins: [ + 'transform-async-to-generator', + 'transform-runtime' + ], presets: [ ['es2015', { modules: false }], 'stage-2'