import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  output: "standalone",

  images: {
    unoptimized: true, // ✅ disable Next.js optimization
    remotePatterns: [
      {
        protocol: "https",
        hostname: "images.unsplash.com",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "cmcbackend.rootxwire.com",
        pathname: "/**",
      },
      {
        protocol: "https",
        hostname: "maincmc.rootxwire.com",
        pathname: "/**",
      },
    ],
  },
};

export default nextConfig;
