diff --git a/packages/config-webpack/webpack.config.common.js b/packages/config-webpack/webpack.config.common.js index 377617e99..69066ee97 100644 --- a/packages/config-webpack/webpack.config.common.js +++ b/packages/config-webpack/webpack.config.common.js @@ -15,6 +15,7 @@ module.exports = { devtool: 'source-map', stats: isWatch ? 'errors-warnings' : 'normal', mode: isProd ? 'production' : 'development', + target: ['web', 'es5'], // target es5 for ie11 support (compiles modules to es5) module: { rules: [ {