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 // Build optimization settings for Next.js 15+
experimental: {
swcMinify: true, swcMinify: true,
turbotrace: {
logLevel: 'error'
}
},
// Reduce memory usage during builds // Reduce memory usage during builds
onDemandEntries: { onDemandEntries: {
// Period (in ms) where the server will keep pages in the buffer // Period (in ms) where the server will keep pages in the buffer