Feature Changes
-
feat(postcss-normalize-url): stop rewriting URLs
The plugin only changes the
url()token (unquoting, whitespace, escaping) and keeps the URL byte-identical. It no longer removes dot segments or duplicate slashes, decodes percent-escapes, removes default ports or strips the trailing dot of host names, because these are not equivalent for every server or bundler. It keeps whitespace inside a quoted@namespaceURL as well, because the namespace name is an identifier compared character by character rather than a URL that gets fetched. -
feat(cssnano-preset-default): remove postcss-svgo from the preset
The presets no longer run
postcss-svgo; run it before cssnano or optimize SVG assets with the SVGO cli instead. Asvgooption is now ignored. The output changes for CSS with inline SVG data URIs, and for CSS with URLs thatpostcss-normalize-urlused to rewrite (see thepostcss-normalize-urlchangeset).
Patch Changes
- Always convert between
cmandmm, and convertqtocmormm, since metric units relate by exact decimal factors.qis never the output unit.