3 ms·
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 u
by _heimdall 1y ago
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.
- typpilol 1y agoTailwind 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