DEV Community

Discussion on: SOS! CSS is eating my timeline!

Collapse
 
uminer profile image
Moshe Uminer

Also, if size is an issue (the default tailwind bundle is some 700kb!) you can use purgecss to remove any unused styles (as explained in the tailwind docs). Using purgecss will usually bring down the bundle size to a fraction.

Collapse
 
deciduously profile image
Ben Lovy

Definitely - I use cssnano as well as purgeCSS, both via PostCSS. My production bundles with Tailwind are not remotely problematic size-wise.