Add optimizeCss to next

This commit is contained in:
Lee 2022-11-17 06:47:31 +00:00
parent d9f1603081
commit ce5ed88418
No known key found for this signature in database
GPG Key ID: 6EA25896ECCB3121

@ -1,12 +1,14 @@
/** @type {import('next').NextConfig} */
const imageUrlParts = process.env.NEXT_PUBLIC_SITE_URL.split("://");
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
output: "standalone",
swcMinify: true,
optimizeFonts: true,
experimental: {
optimizeCss: true,
},
images: {
remotePatterns: [