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

Bugfix: Font-awesome-subsetting #1132

Merged
merged 3 commits into from
Nov 18, 2021
Merged

Conversation

stackoverfloweth
Copy link
Contributor

@stackoverfloweth stackoverfloweth commented Nov 16, 2021

PR Checklist:

  • add a short description of what's changed to the top of the CHANGELOG.md
  • add/update tests (or don't, for reasons explained below)

Describe this PR

using the font-awesome subsetter tool I was able to cherry-pick the icons we use and simply hot-swap the folders in the fonts directory.

icons can be added to our subset using the tool, and importing the project yaml file which I saved in the repository

the result is a 97% decrease in the package size for font-awesome icons.
BEFORE:
before
AFTER:
after

@stackoverfloweth stackoverfloweth marked this pull request as ready for review November 16, 2021 16:11
Copy link
Member

@zhen0 zhen0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Successfully merging this pull request may close these issues.

2 participants