-
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
[Lens] Bundle Size Reduction #142938
[Lens] Bundle Size Reduction #142938
Conversation
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
@elasticmachine merge upstream |
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.
Impressive 🎉 ! I tested it on Chrome by clicking through things and couldn't find any problems, I hope functional tests will give us enough confidence.
Just for me to learn: Out of the things mentioned by you in the description, what had the biggest influence to reduce the bundle size?
Co-authored-by: Marco Liberati <[email protected]>
💚 Build Succeeded
Metrics [docs]Module Count
Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
async chunk count
ESLint disabled line counts
References to deprecated APIs
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @alexwizp |
We need the Lens |
* [Draft][Lens] Bundle Size Reduction * fix JEST * update some imports * Update x-pack/plugins/lens/common/expressions/datatable/sorting.tsx Co-authored-by: Marco Liberati <[email protected]> Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Marco Liberati <[email protected]>
* [Draft][Lens] Bundle Size Reduction * fix JEST * update some imports * Update x-pack/plugins/lens/common/expressions/datatable/sorting.tsx Co-authored-by: Marco Liberati <[email protected]> Co-authored-by: Kibana Machine <[email protected]> Co-authored-by: Marco Liberati <[email protected]>
Summary
[Lens] Bundle Size Reduction
What was done
layerTypes
was removed from Lens, now we import it fromexpression-xy
(around -0.5KB)open_in_discover_helpers
moved into async chunk (around -1.8KB)