-
-
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
[docs] Overhaul bundle size guide #15739
Conversation
|
||
## ECMAScript | ||
|
||
The package published on npm is **transpiled**, with [Babel](https://github.com/babel/babel), to take into account the [supported platforms](/getting-started/supported-platforms/). | ||
|
||
We also publish a second version of the components to target **evergreen browsers**. |
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.
Might be misunderstood that the /es
build targets evergreen browsers. We currently ship syntax in that build that is not supported in all evergreen browsers.
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.
👍
No bundle size changes comparing 1291dca...3507055 |
docs/src/pages/guides/minimizing-bundle-size/minimizing-bundle-size.md
Outdated
Show resolved
Hide resolved
…-size.md Co-Authored-By: Matt <[email protected]>
Focus on tree-shaking being default behavior and dev build implications (thanks to @rosskevin) and how to fix possible issues for those.
Removed
babel-plugin-lodash
since we already document 2 options and the name implies it might stop working any time. Added configuration for the other plugins that were tested in eps1lon/material-ui-tree-shaking-options.