From 60dd06c163a7a4e09ac033d402f329a5993b7859 Mon Sep 17 00:00:00 2001 From: Alan Agius Date: Mon, 2 Sep 2019 12:07:06 +0200 Subject: [PATCH] fix(@angular-devkit/build-angular): several issues with optimization and bundleDependencies in universal Fixes #15498 --- .../src/angular-cli-files/models/webpack-configs/common.ts | 1 + 1 file changed, 1 insertion(+) 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 a0d251e75727..693ea1fdc609 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 @@ -352,6 +352,7 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration { buildOptions.platform == 'server' ? { global_defs: angularGlobalDefinitions, + keep_fnames: true, } : { pure_getters: buildOptions.buildOptimizer,