Files
kokken/next.config.mjs
2025-10-28 23:22:33 +01:00

32 lines
603 B
JavaScript

/** @type {import('next').NextConfig} */
const nextConfig = {
images: {
remotePatterns: [
{
protocol: 'https',
hostname: 'warme.dk',
},
],
},
typescript: {
// Only run TypeScript checks in development
ignoreBuildErrors: process.env.NODE_ENV === 'production',
},
async headers() {
return [
{
source: '/:path*',
headers: [
{
key: 'Cache-Control',
value: 'public, max-age=31536000, immutable',
},
],
},
]
},
optimizeFonts: true,
};
export default nextConfig;