Files
pars-elevator/next.config.ts
T
websites-deploy 65a3bf7b5d 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:09 +00:00

19 lines
669 B
TypeScript

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