Large bundle size - antd in almost every chunk
See original GitHub issueRunning the analyzer for ant-design-pro and inspecting all the chunks separately shows that a lof of the size is antd rebundled with every chunk. this seems to be an issue with babel-plugin-import
but I was thinking we can use ant-design-pro as a real project trying to improve size reduction in antd and bundling of antd.
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
reactjs - ant design - huge imports - Stack Overflow
I am using antd for a small project with only two route. The project size is 1.6MB after uglify. Kindly provide an answer...
Read more >Ant Design Component Customization and Bundle Optimization
You will also learn how to significantly decrease bundle size, cutting off all the unnecessary modules Ant Design takes there.
Read more >Ant Design or Elephant Design? - Orkhan Huseynli - Medium
Ant Design with basic setup makes your bundle size nearly 1.5 MB (without ... And the largest file here is main chunk (which...
Read more >Minimizing Webpack bundle size - Anvil
Webpack works by building a dependency graph of every module imported into our web app, traversing through files containing the code we need, ......
Read more >How to easily reduce your NextJS bundle size by 30%?
2.08 MB bundle size with source-map-explorer; 656 kB loaded with 1.9 MB resources on network inspector. On top of those numbers, I ran...
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
i only have it locally right now but i can showcase when facebook/create-react-app#4077 is merged
@adeelibr it shouldnt be hard to configure manually, basically all you need is
its automatically fixed in webpack 4 which supports vendor splitting.