Files
websites-deploy d706d561fc Use Next.js standalone output for lean production runtime.
Deploy can drop full node_modules and run .next/standalone/server.js (~100MB RSS).
2026-09-08 06:54:11 +00:00

19 lines
600 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Leaner production runtime: deploy uses .next/standalone and drops node_modules.
output: "standalone",
images: {
formats: ["image/avif", "image/webp"],
remotePatterns: [
{ protocol: "https", hostname: "c804387.parspack.net" },
{ protocol: "https", hostname: "*.parspack.net" },
{ protocol: "https", hostname: "*.parminstorage.ir" },
{ protocol: "https", hostname: "cdn.meshkee.com" },
{ protocol: "https", hostname: "api.meshkee.com" },
],
},
};
export default nextConfig;