Skip to content

fix(@angular-devkit/build-angular): remove pure_getters #14187

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 24, 2019

Conversation

filipesilva
Copy link
Contributor

@filipesilva filipesilva commented Apr 16, 2019

When we first started using Build Optimizer, we saw a lot of the savings were tied to using the Uglify/Terser pure_getters option.

This was intimately related with the structure and shape of the Angular codebase. The measurements we did at the time on angular.io showed a significant size reduction, from 1mb to about 600kb. Of these roughly 150kb were tied to using pure_getters if I remember correctly.

Meanwhile the Angular codebase has changed significantly and I don't really see these savings anymore, so I don't think it makes sense to keep it on given that it is known to cause problems with some libraries.

Closes #9231, #11439, #12096, #12128.

@filipesilva filipesilva added target: major This PR is targeted for the next major release state: blocked labels Apr 16, 2019
@filipesilva
Copy link
Contributor Author

Blocked on angular/angular#29929.

@filipesilva filipesilva force-pushed the remove-pure-getters branch from 0f4cf19 to 04322b3 Compare April 22, 2019 11:18
When we first started using Build Optimizer, we saw a lot of the savings were tied to using the Uglify/Terser `pure_getters` option.

This was intimately related with the structure and shape of the Angular codebase. The measurements we did at the time on angular.io showed a significant size reduction, from 1mb to about 600kb. Of these roughly 150kb were tied to using `pure_getters` if I remember correctly.

Meanwhile the Angular codebase has changed significantly and I don't really see these savings anymore, so I don't think it makes sense to keep it on given that it is known to cause problems with some libraries.

Closes angular#9231, angular#11439, angular#12096, angular#12128.
@filipesilva filipesilva force-pushed the remove-pure-getters branch from 4e55bf6 to fe485c4 Compare April 24, 2019 16:24
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 13, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1.6.1+ build optimizer breaking bootstrap carousel transition effects
4 participants