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
The rule and the query should be purged, but actually only the rule is purged and the empty media query stays with only comments and whitespace inside.
Environment
Any?
Add any other context about the problem here
I'm using the Primer framework but not all of its features and am using PurgeCSS to clean what I'm not using
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
Describe the bug
Output css contains useless
@media(foo){}
To Reproduce
Have a media query with an unused class inside.
Expected Behavior
The rule and the query should be purged, but actually only the rule is purged and the empty media query stays with only comments and whitespace inside.
Environment
Any?
Add any other context about the problem here
I'm using the Primer framework but not all of its features and am using PurgeCSS to clean what I'm not using
Code of Conduct
The text was updated successfully, but these errors were encountered: