diff --git a/aio/content/examples/webpack/config/webpack.test.js b/aio/content/examples/webpack/config/webpack.test.js index e668504c67..2c6a59c90f 100644 --- a/aio/content/examples/webpack/config/webpack.test.js +++ b/aio/content/examples/webpack/config/webpack.test.js @@ -45,7 +45,7 @@ module.exports = { plugins: [ new webpack.ContextReplacementPlugin( // The (\\|\/) piece accounts for path separators in *nix and Windows - /angular(\\|\/)core(\\|\/)(esm(\\|\/)src|src)(\\|\/)linker/, + /angular(\\|\/)core(\\|\/)@angular/, helpers.root('./src'), // location of your src {} // a map of your routes )