-
Notifications
You must be signed in to change notification settings - Fork 70
Conversation
a30dba8
to
bd365f9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Due to this answer angular/angular-cli#5775 (comment) terser will be standard with angular 7. Why not upgrade angular to version 7?
Angular 7 is not on the roadmap (yet). |
@danielkesselberg the upgrade should be not that problematic, like the update from 5->6 |
How is this related to this pr? Yes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@PatrickSkowronek upgrade to angular 7 is a risky thing and should be done prudently. Until then (as @danielkesselberg said angular 6 is not outdated til Nov 19) we want to save build time, and using terser with angular 6 is a simple way to save about 12-15%.
Description:
angular/angular-cli#5775 (comment)
Build could be faster when terser (https://www.npmjs.com/package/terser) is used instead of uglify-js.
Uglify-Js
Terser
Improvements