From e1626dfc43acc2631ba7c704ca2fa5baf7c3f682 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Fri, 13 Apr 2018 14:22:57 -0400 Subject: [PATCH] update webpack config syntax error --- webpack.config.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index ef68ffb52d..5fec61dc99 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -108,10 +108,8 @@ const config = { 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: 'popup/vendor', chunks: ['popup/main'],