Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Tree shaking and bloat are different concerns. And, technically, is tailwind tree shaking? I thought they only built styles that the compiler could find being used rather than removing styles the compiler couldn't find being used.


Tailwind v4 tree shakes automatically on imports is what I understand.

I don't think it's identical to package tree shaking but the outcome is the same.

I don't think it was doing it before v4, or if it was, not as efficiently




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: