Very big bundle size with the getting started project
Creating an ant-d project npm create refine-app@latest with demo example pages. The JS bundle is 5MB which is huge.
2 Replies
Hi, I am refine support bot :wave:. I am here to help you with your question. I searched for the answer to your question in the refine documentation and found an answer! 🏆
Answer: The JS bundle size of the "Getting Started" project with Ant Design and demo example pages is 5MB. SOURCES: ./docs/further-readings/benchmarks.md, ./docs/getting-started/quickstart.md, ./docs/comparison.md, ./docs/examples/custom-pages.md
Answer: The JS bundle size of the "Getting Started" project with Ant Design and demo example pages is 5MB. SOURCES: ./docs/further-readings/benchmarks.md, ./docs/getting-started/quickstart.md, ./docs/comparison.md, ./docs/examples/custom-pages.md
Note: If this is the answer you need, then we are very lucky. If not, please wait for someone from the refine core team or the community to try to help you.
passive-yellow•2y ago
Hello @stevechu , we are very close to releasing refine v4, where we removed re-exports from AntD library, that will help with bundle size! Please stay in touch