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?
-
Show this thread
-
Replying to @garybernhardt
Can you generate ctags for css? If so, unused would work
2 replies 0 retweets 0 likes -
Replying to @garybernhardt
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
4:00 PM - 24 Mar 2019
0 replies
0 retweets
0 likes
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.