postcss-lightningcss
JSON →PostCSS plugin wrapping lightningcss for CSS compilation, vendor prefixing (replacing autoprefixer), minification, CSS Modules, and more. Current stable version is 1.1.0, released in early 2025, with gradual release cadence. Key differentiators: uses lightningcss which is written in Rust for speed, can replace multiple PostCSS plugins (autoprefixer, cssnano), supports modern CSS drafts like nesting, and ships TypeScript types. Peer dependency on PostCSS 8, requires Node.js >=20.19.
Resources
packagepostcss-lightningcss ↗
API endpoints
full doc /v1/registry/postcss-lightningcss