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

Provide a minified font CSS file too #1684

Merged
merged 3 commits into from
Apr 26, 2023
Merged

Provide a minified font CSS file too #1684

merged 3 commits into from
Apr 26, 2023

Conversation

XhmikosR
Copy link
Member

@XhmikosR XhmikosR commented Apr 5, 2023

Fixes #1076

See #1076 (comment) for a size comparison.

The gains after compression are negligible (see the above link), but anyway, it doesn't cost us a lot, I suppose. I expect +~15 KB in the npm package, since tarballs are compressed, +~82 KB size on disk and 1 more file.

Note that I didn't change the package.json styles to point to the minified file like we do in bootstrap.

@XhmikosR XhmikosR added enhancement New feature or request build labels Apr 5, 2023
@XhmikosR XhmikosR force-pushed the xmr/font-css-min branch 2 times, most recently from d038b91 to fa856f6 Compare April 5, 2023 09:37
@XhmikosR XhmikosR marked this pull request as ready for review April 5, 2023 09:49
@XhmikosR XhmikosR requested a review from mdo April 5, 2023 09:53
@XhmikosR XhmikosR merged commit 7f54c78 into main Apr 26, 2023
7 checks passed
@XhmikosR XhmikosR deleted the xmr/font-css-min branch April 26, 2023 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build enhancement New feature or request squash
Projects
No open projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Missing Minified CSS File in NPM Package
1 participant