Lightning CSS is an extremely fast CSS parser, transformer, and minifier written in Rust. Compared with PostCSS, Lightning CSS has faster speed and smaller code bundles. At the same time, Lightning CSS also has built-in features such as @import
, CSS modules, URL rebasing, etc.
Here is a benchmark of compile times and bundle sizes for JavaScript-based tools, Lightning CSS and ESBuild:
Vite provides first-class support for Lightning CSS, and I believe this can be used as a reference:
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too