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 see that Tailwind removes or rather doesn't include classNames that are empty (specified but not containing any rules). Is there a way to configure it to not remove them? I wanted to use such classes as identifiers in e2e testing. I know that I can specify dedicated test ids, but why bother when Tailwind with CSS modules already provide clean, nested and namespaced identifier generation.
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
-
I see that Tailwind removes or rather doesn't include classNames that are empty (specified but not containing any rules). Is there a way to configure it to not remove them? I wanted to use such classes as identifiers in e2e testing. I know that I can specify dedicated test ids, but why bother when Tailwind with CSS modules already provide clean, nested and namespaced identifier generation.
Beta Was this translation helpful? Give feedback.
All reactions