postcss-csso

JSON →
library 6.0.1 ·javascript
verified Jun 4, 2026

PostCSS plugin to minify CSS using CSSO (v6.0.1). It converts PostCSS AST to CSSO's AST, optimizes it, then converts back, preserving original node shapes. Releases follow semver with occasional minor bumps. Differentiators: preserves PostCSS node structure, generates correct source maps, and offers performance comparable to standalone CSSO. Requires PostCSS v8+ as a peer dependency. Useful in build pipelines via PostCSS configuration.