Introduction/API Reference/Configuration/next.config.js Options/useLightningcssuseLightningcssExperimental support for using Lightning CSS, a fast CSS bundler and minifier, written in Rust. next.config.tsnext.config.jsimport type { NextConfig } from 'next' const nextConfig: NextConfig = { experimental: { useLightningcss: true, }, } export default nextConfigurlImportsConfigure Next.js to allow importing modules from external URLs.webpackLearn how to customize the webpack config used by Next.js