You are currently viewing documentation for version 15 of Next.js.
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.
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 nextConfig
Was this helpful?