-
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
Reduce bundle size of the default editor #78938
Reduce bundle size of the default editor #78938
Conversation
Pinging @elastic/kibana-app (Team:KibanaApp) |
@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.
Tested in Safari and still works as expected, LGTM
src/plugins/vis_default_editor/public/components/sidebar/use_option_tabs.ts
Outdated
Show resolved
Hide resolved
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.
LGTM! Tested locally
💚 Build SucceededMetrics [docs]@kbn/optimizer bundle module count
async chunks size
distributable file count
page load bundle size
History
To update your PR or re-run it, just comment with: |
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.
LGTM ❤️
* Reduce bundle size * Remove useless line of code Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Summary
This reduces initial bundle size of
vis_default_editor
plugin to≈60kb
by moving theData
tab component to be lazy loaded inside the sidebar.Checklist
Delete any items that are not applicable to this PR.
For maintainers