-
-
Notifications
You must be signed in to change notification settings - Fork 46.7k
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 increased a lot with v5 #38720
Comments
You may look for issues: |
And cssinjs bundles styles in js, so main.css is reduced, but main.js is increased. |
The Antd team will soon optimize the size of the styles generated in cssinjs to reduce the size of js |
css bundle size moved to js bundle size. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Reproduction link
#38671 (comment)
Steps to reproduce
upgrade to ant design v5 then build react project
What is expected?
bundle size would be much smaller after dropping
moment.js
What is actually happening?
it increased by 55kb
The text was updated successfully, but these errors were encountered: