Files
v0-v0app/next.config.mjs

45 lines
886 B
JavaScript
Raw Permalink Normal View History

/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'standalone',
// Remove the invalid outputFileTracingRoot option
experimental: {
// Add any valid experimental options here if needed
},
// Optimize for Docker
compress: true,
poweredByHeader: false,
// Security headers
async headers() {
return [
{
source: '/(.*)',
headers: [
{
key: 'X-Frame-Options',
value: 'DENY',
},
{
key: 'X-Content-Type-Options',
value: 'nosniff',
},
{
key: 'Referrer-Policy',
value: 'origin-when-cross-origin',
},
],
},
]
},
eslint: {
ignoreDuringBuilds: true,
},
typescript: {
ignoreBuildErrors: true,
},
images: {
unoptimized: true,
},
}
export default nextConfig