23 lines
583 B
TypeScript
23 lines
583 B
TypeScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// Enable standalone output for Docker optimization
|
|
output: 'standalone',
|
|
|
|
// Reduce build time optimizations
|
|
experimental: {
|
|
// Reduce memory usage during build
|
|
workerThreads: false,
|
|
// Skip type checking during build (do it separately)
|
|
typedRoutes: false,
|
|
},
|
|
|
|
// Disable source maps in production for faster builds
|
|
productionBrowserSourceMaps: false,
|
|
|
|
// Optimize images
|
|
images: {
|
|
unoptimized: true, // Skip image optimization during build
|
|
},
|
|
}
|
|
|
|
module.exports = nextConfig |