From 38f21bef71bafbc123a8a96f2d0ac440685cddfd Mon Sep 17 00:00:00 2001 From: Amadou Sall Date: Wed, 19 Dec 2018 12:31:17 +0100 Subject: [PATCH] fix(@angular-devkit/build-angular): remove circular dependencies warnings in ngfactory files Fixes #11135 --- .../src/angular-cli-files/models/webpack-configs/common.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts b/packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts index 75d210e08c0c..f10abb18be20 100644 --- a/packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts +++ b/packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/common.ts @@ -149,7 +149,7 @@ export function getCommonConfig(wco: WebpackConfigOptions) { if (buildOptions.showCircularDependencies) { extraPlugins.push(new CircularDependencyPlugin({ - exclude: /[\\\/]node_modules[\\\/]/, + exclude: /([\\\/]node_modules[\\\/])|(ngfactory\.js$)/, })); }