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
Either of the above will result in the "grid" display utility not being purged.
Is there any way to configure PurgeCSS to be a bit more selective about where it purges from? I'm integrating tailwind ino a legacy app, and am trying to reduce the risk of unintended style collisions.
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 noticed recently that PurgeCSS does not remove display utilities if the class name appears in an html comment or in the text of a node.
For example:
Either of the above will result in the "grid" display utility not being purged.
Is there any way to configure PurgeCSS to be a bit more selective about where it purges from? I'm integrating tailwind ino a legacy app, and am trying to reduce the risk of unintended style collisions.
Any and all help very much appreciated!
Beta Was this translation helpful? Give feedback.
All reactions