Skip to content
Permalink
Browse files

fix(build): fix sourcemap in prod

Fix #2533
Close #2519
  • Loading branch information...
laco0416 authored and filipesilva committed Oct 4, 2016
1 parent 8bddabe commit d292eac7ad0326f59cf9f328c40e7df19f800ae6
Showing with 2 additions and 1 deletion.
  1. +2 −1 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(<any>{
mangle: { screw_ie8 : true },
compress: { screw_ie8: true }
compress: { screw_ie8: true },
sourceMap: true
}),
new CompressionPlugin({
asset: '[path].gz[query]',

0 comments on commit d292eac

Please sign in to comment.
You can’t perform that action at this time.