dylanirlbeck / tailwind-ppx

A Reason/OCaml Pre-Processor eXtension (PPX) that validates your Tailwind classes at compile-time.
MIT License
152 stars 15 forks source link

Purging unused CSS classes from Tailwind #41

Closed dylanirlbeck closed 4 years ago

dylanirlbeck commented 4 years ago

There's been a lot of good discussion about how this PPX could ultimately be used as a replacement to PurgeCSS for purging unused classes from the generated Tailwind class names. I'll be actively exploring how we could do this in tailwind-ppx, since this would add a whole lot of value.

For anyone just reading this, I'd highly recommend reading Gabriel's comment that sparked my interest in this feature.