Lightning CSS
lastmod 2023-08-24created 2023-08-241 edits
An extremely fast CSS parser, transformer, bundler, and minifier written in Rust.
Ultra-fast CSS parser written in Rust
Features
- Ultra-fast CSS parser/transformer/bundler/minifier built for use with Parcel
- Over 100x faster than CSSNano and over 4x faster than ESBuild
Can be used as a standalone library, a CLI, or a plugin for other tools Unlike other tools, handles property value types accurately according to the CSS spec syntax Built on the CSSparser/Selector made by Mozilla for Firefox/Servo, so it supports browser-grade parsing Highly optimized minification Adds/removes vendor prefixes depending on browser targets Generates compatible CSS syntax tailored to browsers CSS Modules support Custom transform plugin support See also
Favorite site