23 lines
531 B
TypeScript
23 lines
531 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
// Use standalone output for Docker (smaller image)
|
|
output: "standalone",
|
|
|
|
// Performance optimizations
|
|
poweredByHeader: false, // Remove X-Powered-By header (security)
|
|
compress: true, // Enable gzip compression
|
|
|
|
// Optional: Configure allowed image domains
|
|
images: {
|
|
remotePatterns: [
|
|
{
|
|
protocol: "https",
|
|
hostname: "**",
|
|
},
|
|
],
|
|
qualities: [25, 50, 75, 80, 90, 100],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|