import type { NextConfig } from "next";

const nextConfig: NextConfig = {
  output: "standalone",
  // #343 — 외부 이미지 도메인 허용 (next/image)
  images: {
    remotePatterns: [
      { protocol: "https", hostname: "lh3.googleusercontent.com" }, // Google avatar
      { protocol: "https", hostname: "i.ytimg.com" },               // YouTube thumbnail
      { protocol: "https", hostname: "yt3.ggpht.com" },             // YouTube channel avatar
    ],
  },
};

export default nextConfig;
