UnCSS: Remove unused styles from CSS
Have used tools like this before, and invariably end up accidentally stripping styles from an   component with a dynamically assigned className or something equally silly.It's such a hard problem to solve and the Stylesheet Snowball is one of the most frustrating pieces of technical debt a large site can pick up.It makes me wonder if scoped CSS modules, despite fundamentally breaking CSS  with their hyper specific hybrid BEM-class-ids might be the best preemptive solution even when you're not scaling up to massive SPAs.Edit. Meant CSS modules, wrote CSS components. I am not a clever man.