minify
minify copied to clipboard
css: Whitespace between values isn't collapsed
The following css isn't minified properly:
:root { --v: 1px 2px }
:root { --v: a, b, c; }
:root { --v: a,
b,
c;
}
Got:
:root{--v:1px 2px}:root{--v:a, b, c}:root{--v:a,
b,
c}
Expected:
:root{--v:1px 2px}:root{--v:a,b,c}:root{--v:a,b,c}
Sorry for the late response, but the CSS minifier is somewhat primitive as of yet. However, custom attributes are notoriously restrictive in the amount of minification, though stripping whitespace seems harmless.