import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "export", // Keep dev artifacts separate from production builds. Running `next build` // while a dev server is alive must not invalidate the dev server's chunks. distDir: process.env.NODE_ENV === "development" ? ".next-dev" : ".next", devIndicators: false, images: { unoptimized: true, remotePatterns: [ { protocol: "https", hostname: "**" }, { protocol: "http", hostname: "127.0.0.1" }, { protocol: "http", hostname: "localhost" } ] } }; export default nextConfig;