Skip to content

Commit 2ce768f

Browse files
laco0416Brocco
laco0416
authored andcommitted
fix(build): fix sourcemap in prod
Fix #2533 Close #2519
1 parent 26e4d4b commit 2ce768f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: packages/angular-cli/models/webpack-build-production.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ export const getWebpackProdConfigPartial = function(projectRoot: string, appConf
1616
new WebpackMd5Hash(),
1717
new webpack.optimize.UglifyJsPlugin(<any>{
1818
mangle: { screw_ie8 : true },
19-
compress: { screw_ie8: true }
19+
compress: { screw_ie8: true },
20+
sourceMap: true
2021
}),
2122
new CompressionPlugin({
2223
asset: '[path].gz[query]',

0 commit comments

Comments
 (0)