News for hackers. Stuff that matters.
Re:Tailwind CSS v3.0 by lijogdfljk on Friday December 10, 2021 @02:48PM (#29514645)
If it just uses regex over source material i guess it would be fine, though seems like it might hit a fair number of false positives if it's too loose. Too rigid and it might not work if you don't write your css vars in something that looks html-like.

Will be interesting!

Re:Tailwind CSS v3.0 by hbn on Friday December 10, 2021 @03:24PM (#29515034)
I've never looked into how accurate it is, but even if you get a few false positives, I'm not too concerned about a few extra characters being transferred in the grand scheme of things.

The creator of Tailwind posted a comment in this thread that the Tailwind website itself, which uses way more Tailwind classes than a normal size would use (for demoing everything), only spits out 36.9kB of CSS.

https://news.ycombinator.com/item?id=29503769