-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
Bundle size appears too big #11830
Bundle size appears too big #11830
Comments
It's 54kB gzipped. It's not that much. A lot of people are shipping a 200kB gzipped bundle even after tree shaking 🙈.
significantly? No, it won't. It will most likely be smaller, but I have don't have any figure to share. I'm eager to know the figure once you complete the migration :).
Color can be imported directly in v1.x to prevent including unneeded color. You can't do anything about it with v0.x.
They are transitive dependencies. |
Thank you, guys. I really appreciate your work! |
I'm using MUI v0.17.4. I know 0.x is not supported and I'm already planning to upgrade to 1.x. I'm trying to check whether upgrading would help me cut down the bundle size significantly, and see if I'm making any obvious mistakes at the moment with 0.x.
While analyzing the production bundle I noticed a few things:
import {amber600, blue600} from 'material-ui/styles/colors'
Thanks so much!
The text was updated successfully, but these errors were encountered: