From a21dd43a4f073d95c35002e5c75db805f4b793d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81bner=20Oliveira?= Date: Fri, 12 Aug 2016 06:15:14 -0300 Subject: [PATCH] changed mangle configuration to mangle: { screw_ie8 : true, keep_fnames: true } to fix production builds issue - see #1644 This fixes issue [https://github.com/angular/angular-cli/issues/1644](https://github.com/angular/angular-cli/issues/1644) --- addon/ng2/models/webpack-build-production.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/ng2/models/webpack-build-production.ts b/addon/ng2/models/webpack-build-production.ts index fb4dcc083840..9866b7add430 100644 --- a/addon/ng2/models/webpack-build-production.ts +++ b/addon/ng2/models/webpack-build-production.ts @@ -21,7 +21,7 @@ export const getWebpackProdConfigPartial = function(projectRoot: string, sourceD // ~107kb new webpack.optimize.UglifyJsPlugin({ beautify: false, //prod - mangle: { screw_ie8 : true }, //prod + mangle: { screw_ie8 : true, keep_fnames: true }, //prod compress: { screw_ie8: true }, //prod comments: false //prod }),