import type { NextConfig } from 'next';

const nextConfig: NextConfig = {
  poweredByHeader: false,
  // Self-contained server bundle (.next/standalone) for Node hosting such as cPanel's "Setup Node.js App".
  output: 'standalone',
  outputFileTracingRoot: process.cwd(),
  // Shared hosting rarely has the native image library Next.js needs to resize images; serve them as-is.
  images: { unoptimized: true },
};

export default nextConfig;
