Webpack Loader and Minifier for LightningCSS
JSON →lightningcss-loader is a Webpack loader and minifier plugin that integrates the high-performance `lightningcss` engine into the Webpack build process. It provides a fast alternative for CSS processing, including features like prefixing, transpilation, and minification. The current stable version is `3.0.1`, with releases occurring regularly, including major updates that align with `lightningcss` capabilities. A key differentiator is its ability to replace functionality commonly provided by `postcss-loader` (specifically `autoprefixer` and `postcss-preset-env`) due to `lightningcss`'s built-in capabilities, leading to potentially significant build time improvements. It also offers a dedicated `LightningCssMinifyPlugin` for `optimization.minimizer` in Webpack 5.
Traffic · last 30 days ↑67% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany · 🇫🇮 Finland