useLightningcss

Enable experimental support for Lightning CSS.

Experimental support for using Lightning CSS, a fast CSS bundler and minifier, written in Rust.

import type { NextConfig } from 'next'
 
const nextConfig: NextConfig = {
  experimental: {
    useLightningcss: true,
  },
}
 
export default nextConfig