useLightningcss
This feature is currently experimental and subject to change, it's not recommended for production. Try it out and share your feedback on GitHub.
Last updated June 16, 2025
Experimental support for using Lightning CSS, a fast CSS bundler and minifier, written in Rust.
next.config.ts
import type { NextConfig } from 'next'
const nextConfig: NextConfig = {
experimental: {
useLightningcss: true,
},
}
export default nextConfigWas this helpful?