Please checkout my new purgeTSS
CLI.
- Just install it globally on your machine.
[sudo] npm i -g purgetss
-
Use any tailwind.tss, fontawesome.tss, materialicons.tss and lineicons.tss classes in your views.
-
Run
purgetss
inside your project’s root folder before compiling your App.
purgetss
- And as simple as that, you’ll have a purged
app.tss
file with only the styles used in your App.
For more info check the official repository