From 2e49f52626f6b90b9736a87bc9e3a3f16b435a44 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 13 Apr 2018 14:23:00 -0400 Subject: [PATCH] update webpack config syntax error --- webpack.renderer.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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'],