diff --git a/webpack.renderer.js b/webpack.renderer.js index 1ec22aaeb7..74970822d0 100644 --- a/webpack.renderer.js +++ b/webpack.renderer.js @@ -124,10 +124,8 @@ const renderer = { sourceMap: true }), // ref: https://github.com/angular/angular/issues/20357 - new webpack.ContextReplacementPlugin( - /\@angular(\\|\/)core(\\|\/)esm5/, - path.resolve(__dirname, './src') - ), + new webpack.ContextReplacementPlugin(/\@angular(\\|\/)core(\\|\/)esm5/, + path.resolve(__dirname, './src')), new webpack.optimize.CommonsChunkPlugin({ name: 'app/vendor', chunks: ['app/main'],