Disable optimizeCss

This commit is contained in:
Lee 2022-11-17 09:58:00 +00:00
parent 92395861da
commit 27023723fe
No known key found for this signature in database
GPG Key ID: 6EA25896ECCB3121

@ -10,7 +10,14 @@ const nextConfig = {
optimizeFonts: true,
poweredByHeader: false,
experimental: {
optimizeCss: true,
// Will leave disabled for now as it causes
// cpu usage spikes when loading a page
//optimizeCss: true,
},
compiler: {
removeConsole: {
exclude: ["error"],
},
},
images: {