Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(build): fix sourcemap in prod
Browse files Browse the repository at this point in the history
laco0416 committed Oct 10, 2016

Verified

This commit was signed with the committer’s verified signature.
dumbbell Jean-Sébastien Pédron
1 parent fbc585b commit 669e7cb
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
@@ -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 669e7cb

Please sign in to comment.