I have a Preact app with a hundred or so .tsx files. It uses Tachyons (plain old CSS). I'd like to remove unreferenced CSS classes. Grepping the tsx for all /[\w-]+/ and including only those would be sufficient. No webpack; no need to parse the TSX. Is there a tool that does it?
-
-
I've permanently sworn off of /.*tags/
-
Unfortunately the only generic tool I know of (hence uses grep rather than trying to parse things) uses it for it's list of things to look for
End of conversation
New conversation -
-
-
Not sure if suitable,in the past I’ve used deadweight - https://github.com/aanand/deadweight … - its not maintained anymore but they link out to two ther projects in the readme
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.