From 3d2bca183ddd7587c4749b63d59f09b79477fcfa Mon Sep 17 00:00:00 2001 From: Blake Johnston Date: Fri, 12 May 2017 18:37:07 -0500 Subject: [PATCH] Update regex for Webpack ContextReplacementPlugin to work w/latest Ionic / Angular --- test-config/webpack.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test-config/webpack.test.js b/test-config/webpack.test.js index 01740b9..f1d0edc 100755 --- a/test-config/webpack.test.js +++ b/test-config/webpack.test.js @@ -32,7 +32,7 @@ module.exports = { plugins: [ new webpack.ContextReplacementPlugin( // The (\\|\/) piece accounts for path separators in *nix and Windows - /angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/, + /(ionic-angular)|(angular(\\|\/)core(\\|\/)@angular)/, root('./src'), // location of your src {} // a map of your routes )