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
Hi, I'm using 1.20.0.0 and I'm finding a problem when I try to minify a css file with media queries rules.
In detail, I have this rule @container (min-width: 480px) and (max-width: 1024px) and the minified version is @container (min-width: 480px) and(max-width: 1024px) .
To minify I use this code: NUglify.Uglify.Css(text) without any setting.
Could you help me to find a way to avoid that the space after the and word is cancelled?
Thanks
The text was updated successfully, but these errors were encountered:
@container is completely unsupported as its a relatively new CSS feature.
PR welcome
Modify CssScanner.cs and add "CONTAINER" support to ScanAtKeyword(), then CssParser.cs needs a method to handle it called from at least ParseStylesheet()
Hi, I'm using 1.20.0.0 and I'm finding a problem when I try to minify a css file with media queries rules.
In detail, I have this rule @container (min-width: 480px) and (max-width: 1024px) and the minified version is @container (min-width: 480px) and(max-width: 1024px) .
To minify I use this code: NUglify.Uglify.Css(text) without any setting.
Could you help me to find a way to avoid that the space after the and word is cancelled?
Thanks
The text was updated successfully, but these errors were encountered: