Update next.config.mjs

This commit is contained in:
NotII
2025-03-24 01:54:26 +00:00
parent 333f657b7e
commit 5a2a9d59b7

View File

@@ -24,13 +24,8 @@ const nextConfig = {
},
];
},
// Build optimization settings for slower CPUs
experimental: {
swcMinify: true,
turbotrace: {
logLevel: 'error'
}
},
// Build optimization settings for Next.js 15+
swcMinify: true,
// Reduce memory usage during builds
onDemandEntries: {
// Period (in ms) where the server will keep pages in the buffer