Next upgrade

This commit is contained in:
Dustin Brett
2022-06-28 18:12:08 -07:00
parent f73ebc13c5
commit 45533385c2
3 changed files with 379 additions and 350 deletions

View File

@@ -15,17 +15,25 @@ const nextConfig = {
compiler: {
reactRemoveProperties: isProduction,
removeConsole: isProduction,
styledComponents: true,
styledComponents: {
displayName: !isProduction,
minify: isProduction,
pure: true,
},
},
crossOrigin: false,
devIndicators: {
buildActivity: false,
buildActivityPosition: "top-right",
},
experimental: {
disablePostcssPresetEnv: true,
reactRoot: true,
browsersListForSwc: true,
legacyBrowsers: false,
serverComponents: false,
swcFileReading: true,
},
optimizeFonts: false,
output: "standalone",
productionBrowserSourceMaps: false,
reactStrictMode: true,
swcMinify: !isProduction,
webpack: (config) => {