Skip to content
This repository has been archived by the owner on Jul 21, 2022. It is now read-only.

Commit

Permalink
fix(build): fix sourcemap in prod
Browse files Browse the repository at this point in the history
  • Loading branch information
laco0416 authored and Brocco committed Oct 19, 2016
1 parent 6db6bbe commit d1a232c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/angular-cli/models/webpack-build-production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]',
Expand Down

0 comments on commit d1a232c

Please sign in to comment.