[kbn/optimizer] mangle variables in optimizer bundles#112435
[kbn/optimizer] mangle variables in optimizer bundles#112435spalger merged 4 commits intoelastic:masterfrom
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 <spalger@users.noreply.github.com>
💚 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 <spalger@users.noreply.github.com> * [optimizer] keep classnames to support constructor.name (#113119) Co-authored-by: spalger <spalger@users.noreply.github.com> (cherry picked from commit 6612f2b) Co-authored-by: Spencer <email@spalger.com> Co-authored-by: spalger <spalger@users.noreply.github.com>
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.