PolymerElements / iron-icons

A set of icons for use with iron-icon
https://www.webcomponents.org/element/PolymerElements/iron-icons
105 stars 61 forks source link

Export only the icons used in the app #101

Open fabiocarneiro opened 4 years ago

fabiocarneiro commented 4 years ago

Description

When building a custom component with angular 9 (ivy, webpack), I would like my bundle size to be as small as possible.

Expected outcome

I would like to be able to have in my final bundle only the icons that are being used in my app.

Actual outcome

I am using only two icons for my custom component, but I get an SVG with all the icons.