CSS minifier with structural optimizations
css-tree
to ~2.2.0
(#458)medium
in font
declarations since it breaks the value since <font-size>
is required (#449)browser
field is usedmodule
field^10
main
field in package.json
to refer to CommonJS modulecss-tree
to ~2.0.4
(fixed CSS serialization issue in IE11)css-tree
to ~2.0.3
(various fixes on generate CSS)csso/syntax
:has()
, :not(<selector-list>)
, :is()
, :matches()
, :-moz-any()
, :-webkit-any()
, :where()
, :nth-child(... of <selector-list>)
and :nth-last-child(... of <selector-list>)
^12.20.0
, ^14.13.0
and >=15.0.0
dist/csso.js
(an IIFE version with csso
as a global name) and dist/csso.esm.js
(as ES module). Both are minifiedcss-tree
to 2.0
min()
, max()
and clamp()
functions (#426)mdn/data
that reduced the lib size:
^1.0.0
var()
(#420):-ms-input-placeholder
and ::-ms-input-placeholder
(#383, #416)overflow
fallback (#415)flex
/-ms-flex
(#410)