Skip to content

Commit 0c1fe7a

Browse files
authored
Merge pull request #34 from johnstonbl01/master
Update regex for Webpack ContextReplacementPlugin to work w/latest Ionic / Angular
2 parents f7d45bc + 3d2bca1 commit 0c1fe7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-config/webpack.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ module.exports = {
3232
plugins: [
3333
new webpack.ContextReplacementPlugin(
3434
// The (\\|\/) piece accounts for path separators in *nix and Windows
35-
/angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/,
35+
/(ionic-angular)|(angular(\\|\/)core(\\|\/)@angular)/,
3636
root('./src'), // location of your src
3737
{} // a map of your routes
3838
)

0 commit comments

Comments
 (0)