I'm currently build a vuetifyjs-app with the default "Material Design Icons". In the production build I only use 2 Icons of this font (used by vuetify-component chips).
As recommend I included the complete iconfont with
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet">
But the production-build this force the user to download almost 0.5MB of Data only for 2 icons. Is there any way to:
- Include only needed Icons in the CDN-Request or
- Use Tree-Shaking to include only the icons in need in the main CSS file? (i'm using parcel.js builder)