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 text was updated successfully, but these errors were encountered:
yisibl
changed the title
css-minifier: the custom properties in @supports cannot remove spaces
css-minifier: CSS custom properties in @supports cannot remove spaces
Feb 16, 2022
That's strange. Both Firefox and Safari treat these two examples the same while Chrome only respects the first one. I wonder if this is a bug with Chrome or with both Firefox and Safari. I'll work on a fix.
That's strange. Both Firefox and Safari treat these two examples the same while Chrome only respects the first one. I wonder if this is a bug with Chrome or with both Firefox and Safari. I'll work on a fix.
esbuild --minify output:
Expectation
Browser page shows green background.
After compression, keep at least one space after
--foo:
, otherwise not valid in Chrome.See also: https://lea.verou.me/2020/10/the-var-space-hack-to-toggle-multiple-values-with-one-custom-property/
The text was updated successfully, but these errors were encountered: