I have a website and I currently use a very small subset of bootstrap 5.0, and my own CSS file. I also use some jQuery for simple scrolling/form behaviours, and font-awesome for icons.
I run a coverage analysis in chrome dev tools, and reports the following:
| Library/bundle | unused (%/bytes) |
|---|---|
| bootstrap.min.css | 96% (146kb) |
| jquery.min.js | 68% (61kb) |
| bootstrap bundle min js | 76% (60kb) |
| font-awesome.min.css | 99% (30kb) |
| custom.css (mine) | 28% (2kb) |
I'm not too worried about custom.css, though from a performance standpoint, I'm curious to know why SASS wouldn't tell me which tags are unused & more importantly, how my CSS stands up to performance metrics.
These are the CDNs I pull libraries from
In the head
At the bottom of the body, not deferred
My takeaway questions
Unrelated to this question
There's a bug in the markdown for tables. In the table above, under the library/bundle column, it would report this if I had periods between the library domain levels in the third row (bootstrap.bundle.min.js versus bootstrap bundle min js)
Your post appears to contain code that is not properly formatted as code. Please indent all code >by 4 spaces using the code toolbar button or the CTRL+K keyboard shortcut. For more editing help, >click the [?] toolbar icon
Who should I report this to?
As always, your help is greatly appreciated.
Cheers!