Add optimizeCss to next
This commit is contained in:
parent
d9f1603081
commit
ce5ed88418
@ -1,12 +1,14 @@
|
|||||||
/** @type {import('next').NextConfig} */
|
|
||||||
|
|
||||||
const imageUrlParts = process.env.NEXT_PUBLIC_SITE_URL.split("://");
|
const imageUrlParts = process.env.NEXT_PUBLIC_SITE_URL.split("://");
|
||||||
|
|
||||||
|
/** @type {import('next').NextConfig} */
|
||||||
const nextConfig = {
|
const nextConfig = {
|
||||||
reactStrictMode: true,
|
reactStrictMode: true,
|
||||||
output: "standalone",
|
output: "standalone",
|
||||||
swcMinify: true,
|
swcMinify: true,
|
||||||
optimizeFonts: true,
|
optimizeFonts: true,
|
||||||
|
experimental: {
|
||||||
|
optimizeCss: true,
|
||||||
|
},
|
||||||
|
|
||||||
images: {
|
images: {
|
||||||
remotePatterns: [
|
remotePatterns: [
|
||||||
|
Reference in New Issue
Block a user