Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

Does extending TailwindCSS with utility classes affect the final build size?

$
0
0

Does using a custom border radius alias like this add to the final CSS build size, beyond the (what I assume is) minimal definition of the class itself?

theme: {  extend: {    borderRadius: {      card: ({ theme }) => theme('borderRadius.sm'),    },  },}

In other words, will rounded-card in my HTML result in extra CSS compared to just using rounded-sm, or does Tailwind optimize this since they use the same underlying value?


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>