29 lines
538 B
TypeScript
29 lines
538 B
TypeScript
import type { NextConfig } from 'next'
|
|
|
|
const nextConfig: NextConfig = {
|
|
// Enable standalone output for Docker
|
|
output: 'standalone',
|
|
|
|
// Image optimization for Sanity CDN
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: 'https',
|
|
hostname: 'cdn.sanity.io',
|
|
pathname: '/images/**',
|
|
},
|
|
],
|
|
},
|
|
|
|
|
|
// TypeScript
|
|
typescript: {
|
|
// Allow production builds even with type errors (for development)
|
|
// Set to true in production
|
|
ignoreBuildErrors: false,
|
|
},
|
|
|
|
}
|
|
|
|
export default nextConfig
|