CSS minifier with structural optimizations
1.0.0-alpha.37
to avoid source map generation inconsistency across Node.js versions1.0.0-alpha.36
(#399)dist/csso.js
and dist/csso.min.js
instead single dist/csso-browser.js
(min version)compress()
as syntax.compress()
1.0.0-alpha.27
WARN: Internal API (i.e.
csso.syntax
) was changed, see CSSTree's release notes for details
-ms-flex
due it breaks flex in IE10/11 (#362)position
declarations when sticky
fallback is using (thanks to @gruzzilkin, #356)1.0.0-alpha25
Arial Black
, and with no hacks ;)@keyframes
to the beginning of style sheet@keyframes
, @media
and @supports
with no prelude@keyframes
(#202)forceMediaMerge
to force media rules merging. It's unsafe in general, but works fine in many cases. Use it on your own risk (#350)CSSTree
to 1.0.0-alpha23
none
keyword in border
and outline
properties (@zoobestik, #41)rgba(x, x, x, 0)
to transparent
calc(1px+2px)
has been optimized to calc(1px2px)
before, now it stays the same):nth-*()
, :has()
, :matches
and other pseudos)blacklist
filtering in usage (#334, see Black list filtering)css-tree
to 1.0.0-alpha19