Skip to content

Commit

Permalink
Merge pull request #34 from johnstonbl01/master
Browse files Browse the repository at this point in the history
Update regex for Webpack ContextReplacementPlugin to work w/latest Ionic / Angular
  • Loading branch information
leifwells authored May 13, 2017
2 parents f7d45bc + 3d2bca1 commit 0c1fe7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test-config/webpack.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down

0 comments on commit 0c1fe7a

Please sign in to comment.