sno-blog/next.config.ts
2026-02-02 22:53:36 +03:00

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