3 ms·
I bet you lots of people are ignoring the "don't use this in prod" advice. Why doesn't Tailwind just offer a for-production CDN link? I understand that the buil
by dom96 4y ago
I bet you lots of people are ignoring the "don't use this in prod" advice. Why doesn't Tailwind just offer a for-production CDN link? I understand that the build step provides features, but what if I don't care about those features?
- hbn 4y agoIt's not just features, it's a 350kb js file you have to send over the wire [1] as opposed to pre-building and sending a tiny css file containing the small subset of classes you used. Not to mention, I don't know exactly how it works, but I assume it's doing all that processing to convert classes in your HTML into CSS classes on the client side so it's probably less performant. [1] https://cdn.tailwindcss.com/ https://cdn.tailwindcss.com/