-
-
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
[core] Update babel-plugin-optimize-clsx #15894
Conversation
Details of bundle changes.Comparing: 8cfaa98...da95e85
|
@merceyz Nice work! How did you manage to further reduce the bundle size output? |
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.
Good stuff.
Unrelated: Would really like to see how brotli compares to gzip. Not sure how widespread brotli usage is though. I only know that netlify doesn't support it (yet).
@oliviertassinari https://github.com/merceyz/babel-plugin-optimize-clsx/blob/master/CHANGELOG.md
|
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.
Using the prop types is as smart as frightening (I'm exagerating), I'm glad we run the Babel plugin systemically, for all our tests.
@oliviertassinari Thank you ^^, you can see what it does with them here: https://github.com/merceyz/babel-plugin-optimize-clsx/tree/master/test/fixtures/proptypes |
Has some new features and bug fixes so it generates even faster and smaller code
Output from
yarn workspace @material-ui/core build
: