diff --git a/packages/angular-cli/models/webpack-build-production.ts b/packages/angular-cli/models/webpack-build-production.ts index d1c7b24b1a45..52256fe7fb5b 100644 --- a/packages/angular-cli/models/webpack-build-production.ts +++ b/packages/angular-cli/models/webpack-build-production.ts @@ -16,7 +16,8 @@ export const getWebpackProdConfigPartial = function(projectRoot: string, appConf new WebpackMd5Hash(), new webpack.optimize.UglifyJsPlugin({ mangle: { screw_ie8 : true }, - compress: { screw_ie8: true } + compress: { screw_ie8: true }, + sourceMap: true }), new CompressionPlugin({ asset: '[path].gz[query]',