When using @ant-design/icons, I noticed that the bundle size increases significantly due to the inclusion of the icons.
Details from Vite Bundle Visualizer:
Is there a way to include only the icons that are actually needed or used in the project?
I am currently using Vite 6.0.7.
For imports, I'm using the default import method, for example:
javascript
Code kopieren
import PicLeftOutlined from '@ant-design/icons/PicLeftOutlined';
No changes in API required
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too