Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce DLL size? #24

Open
Shujee opened this issue Jan 6, 2021 · 1 comment
Open

Reduce DLL size? #24

Shujee opened this issue Jan 6, 2021 · 1 comment

Comments

@Shujee
Copy link

Shujee commented Jan 6, 2021

Is there a way to reduce the output bundle size? Most of the people would use only a handful of the icons, maybe 10-20 icons. Would it be feasible to invent a way to include only those icons in the output?

@MartinTopfstedt
Copy link
Owner

Hi,

for specific icons like you specified, it would only be possible to do this with svg. Furthermore i would need to adjust the generator to accept a cli parameter for icons, which should included in the enumeration generation.
This would mean you need to manually compile the project for your icon set.

For fonts you would need to have the FontAwesome5 Subset Tool which is a pro feature.

Another solution would be to separate the styles into own nuget packages and separate between SVG and Fonts. So you can save disk space as well if you only need one style.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants