useLightningcss
Rust로 작성된 빠른 CSS 번들러 및 압축기인 Lightning CSS를 사용하기 위한 실험적 지원입니다.
next.config.ts
import type { NextConfig } from "next";
const nextConfig: NextConfig = {
experimental: {
useLightningcss: true,
},
};
export default nextConfig;
next.config.js
/** @type {import('next').NextConfig} */
const nextConfig = {
experimental: {
useLightningcss: true,
},
};
module.exports = nextConfig;