bundle size increased a lot with v5
See original GitHub issueReproduction link
https://github.com/ant-design/ant-design/issues/38671#issuecomment-1320572845
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
Environment | Info |
---|---|
antd | 5.0.0 |
React | CRA/ react 18.2.0 |
System | macos 16.0.1 |
Browser | brave |
Issue Analytics
- State:
- Created 10 months ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
How to Slim Down Your Bundle Size
Here are some potential next steps you can take to decrease your bundle size and load time and increase performance. Consider rewriting libraries...
Read more >Bundle size increased after upgrading to Angular 6 (from 5)
My build size was at around 7MB+ on 1.7.4 (I know it was big already), but now it's 40.5MB! This is with --prod....
Read more >Bundle size reduction impossible through modular imports ...
Describe the bug We are trying to reduce the bundle size be refactoring the aws-amplify package to it's modular components.
Read more >I give up on trying to reduce our angular bundle size - Reddit
Yes, scrutinize your <component-name>.scss files to make sure you aren't repeating things in lots of them. If it is repeated move it to...
Read more >Migrating to webpack 5 to improve build time and reduce ...
Improve bundle size with better Tree Shaking and Code Generation. ... When migrating to v5 make sure that your webpack 4 build doesn't...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The Antd team will soon optimize the size of the styles generated in cssinjs to reduce the size of js
You may look for issues:
🤖 By issues-similarity-analysis