-
Notifications
You must be signed in to change notification settings - Fork 842
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
eui dependency - highlight.js #3164
Comments
Thanks for reporting! We are aware of this and better modularization is somewhat tracked on our roadmap. I did confirm a few months ago that a properly configured webpack project will tree shake unused modules (off the top of my head that is ensuring
or
We would like to address this better in the future, but it's definitely a lower priority right now. |
Closing in favor of a better roadmap description #2520 |
i'll just update what I did as a future reference:
thanks! |
hello
I'm using eui 20.1.0 for my react website (and love it!)
when analyzing my bundle, I've notices that highlight.js, which is eui dependency,is taking lots of it: (highlight.js "^9.12.0")
is there anyway to remove it from the bundle?
it seems to be in use in EuiCodeBlock but I dont use this component in my website.
thanks!
The text was updated successfully, but these errors were encountered: