Skip to content

Commit

Permalink
fix(build): fix sourcemap in prod
Browse files Browse the repository at this point in the history
Fix #2533
Close #2519
  • Loading branch information
laco0416 authored and filipesilva committed Oct 10, 2016
1 parent 8bddabe commit d292eac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/angular-cli/models/webpack-build-production.ts
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 d292eac

Please sign in to comment.