You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I built a component library that uses tailwindcss. Now I'm wondering how best to specify the source to avoid css bloat.
The ui-library offers lots of components, but my app just use a few of them. I.e.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey 👋
I built a component library that uses tailwindcss. Now I'm wondering how best to specify the source to avoid css bloat.
The ui-library offers lots of components, but my app just use a few of them. I.e.
If I add the source like this:
all components are parsed and unnecessary css-directives land in my result-app-css file.
How to fix this?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions