Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(build): fix sourcemap in prod
  • Loading branch information
laco0416 committed Oct 10, 2016
commit 669e7cbe406e5e0c5a3a2595adc57192ef28110a
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