Skip to content

Commit

Permalink
fix(@angular/cli): support minified JS on safari 10
Browse files Browse the repository at this point in the history
  • Loading branch information
clydin authored and filipesilva committed Nov 29, 2017
1 parent 54b6c6b commit 9586f88
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/@angular/cli/models/webpack-configs/production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,11 +135,14 @@ export function getProdConfig(wco: WebpackConfigOptions) {
ecma: wco.supportES2015 ? 6 : 5,
warnings: buildOptions.verbose,
ie8: false,
mangle: true,
mangle: {
safari10: true,
},
compress: uglifyCompressOptions,
output: {
ascii_only: true,
comments: false
comments: false,
webkit: true,
},
}
}),
Expand Down

0 comments on commit 9586f88

Please sign in to comment.