Trim redundant CSS with PurgeCSS

I figured it made good sense to see if there were any old skeletons lingering in stylesheet before I switch to inlining the core of my styles into the page head. Easily done with PurgeCSS so long as you can stomach another Node package in your filesystem.

npx makes it trivial.

npx purgecss --css /tmp/silasjelley.com/styles.css --content /tmp/silasjelley.com/**.html --output /tmp/purge.css

Diffing the two stylesheets (I use Meld) showed up a handful of old CSS id’s and classes that I was no longer using, shaving a little off that all importing render blocking cascade.