-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Missing Minified CSS File in NPM Package #1076
Comments
jsDelivr is powered by npm I believe, and our Lines 65 to 70 in ad24b6f
|
@mdo - I'm not quite sure I follow your point. I opened this issue because there is no minified version of the JS and CSS files available within the As a related note, in similar packages, like
Package - https://www.npmjs.com/package/bootstrap Are there any plans to create such minified files similarly in (I don't think this should be tagged as bug, but I couldn't change the tag. Sorry about that.) |
Oh my bad, I didn't realize jsDelivr was generating that. I think we can add this. |
A friendly ping to the developers. |
There's no real gain in minifying the CSS file, the numbers are just too small. We might revisit later but for now we won't do it. |
I made #1684, but like I said above, the gains are pretty small after gzip/brotli; no need to downvote when it's a fact 😛. Here are the numbers: Uncompressed:
Brotli:
Sure, the uncompressed size is decreased significantly, but no one should serve uncompressed files on the web. |
Seems like it is overkill for the brotli compression |
Problem
As a user of Bootstrap-Icons, I would like to be able to utilize the same minified file from the
npm
package that I can from the CDN.I would like to utilize a minified file, such as
bootstrap-icons.min.css
in the latestnpm
package. I am interested in this minified file in particular in order to better control dependency upgrading and visibility by being transparent about the dependencies of my application and users of my application.The CDN has a minified version of the file that can be utilized, but the
npm
package does not. It would be great if thenpm
package ofbootstrap-icons
could also include abootstrap-icons.min.css
file like the CDN does throughjsdelivr
.References
Example file here on the CDN - https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css
The text was updated successfully, but these errors were encountered: