From 66cceb5760a3991202c1e7d5743ff954a9af991c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81bner=20Oliveira?= Date: Fri, 12 Aug 2016 06:26:37 -0300 Subject: [PATCH] fix(Compiler): production build was not rendering some components This fixes the issue #1644 Changed mangle configution passed to UglifyJsPlugin to `mangle: { screw_ie8 : true, keep_fnames: true }` --- 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 }),