Re:Tools for Auditing CSS
by DrOctagon on Thursday April 01, 2021 @11:25PM
(#26668773)
This works for me in most cases: https://tailwindcss.com/docs/optimizing-for-production#writi...
[ Parent
| on HN ]
Yeah, I do like working with Tailwind and PurgeCSS and that setup works great. It's a good way of avoiding the unused CSS problem in the first place.
The problem for me is digging into a large existing codebase which has built up thousands of semantic class names and a bunch of nesting in the CSS. I'd like a tool that could tell me what's probably not being used, which I could then use as a starting point for some clean up.