-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[kbn/optimizer] mangle variables in optimizer bundles #112435
[kbn/optimizer] mangle variables in optimizer bundles #112435
Conversation
40ec047
to
ff85506
Compare
💚 Build SucceededMetrics [docs]Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
Pinging @elastic/kibana-operations (Team:Operations) |
Shaving 2.5M off page load, no biggie. ;-) |
Co-authored-by: spalger <[email protected]>
💚 Backport successful
This backport PR will be merged automatically after passing CI. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
5 similar comments
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
… and (#113119) (#112498) * [kbn/optimizer] mangle variables in optimizer bundles (#112435) Co-authored-by: spalger <[email protected]> * [optimizer] keep classnames to support constructor.name (#113119) Co-authored-by: spalger <[email protected]> (cherry picked from commit 6612f2b) Co-authored-by: Spencer <[email protected]> Co-authored-by: spalger <[email protected]>
We've gotten rid of Angular in nearly every part of the app, except a few bundles, so we could start mangling the variable names in nearly every bundle and reduce shipped bundle sizes substantially. By the time we ship 7.16 I hope we can just set this to true across the board.