Update next.config.mjs
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user