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 CSS in the wild that has media queries that can never evaluate to true, e.g.:
@media screen and (min-width:1020px) and (max-width:739px) {
.foo {color: red}
}
@media screen and (min-width:740px) and (max-width:1019px) and (min-width:1020px) and (max-width:1135px) {
.bar {color:green}
}
When minifying the CSS it would be good if lightningcss omitted these media queries and their contents entirely, resulting in a smaller bundle size.
I see CSS in the wild that has media queries that can never evaluate to
true
, e.g.:When minifying the CSS it would be good if lightningcss omitted these media queries and their contents entirely, resulting in a smaller bundle size.
Demo in playground
The text was updated successfully, but these errors were encountered: