Closed gpoitch closed 5 years ago
postCSSCustomProperties({ preserve: false })
:root { /* Colors */ --color: red; } h1 { color: var(--color); } /* becomes */ :root { /* Colors */ } h1 { color: red; }
It cannot be safely inferred whether comments in :root or html would be related to custom properties. This should be handled by a minifier.
:root
html