import type { NextConfig } from "next";
const nextConfig: NextConfig = {
output: "export", // ✅ REQUIRED for generating /out
images: {
unoptimized: true, // ✅ Required for export (no Image Optimization on CPanel)
remotePatterns: [
protocol: "https",
hostname: "[Link]",
port: "",
pathname: "/wp-content/uploads/**",
},
protocol: "https",
hostname: "[Link]",
port: "",
pathname: "/**",
},
],
},
};
export default nextConfig;