From 65a3bf7b5d361cfbfdc45b115c3567c177e91479 Mon Sep 17 00:00:00 2001 From: websites-deploy Date: Tue, 8 Sep 2026 06:54:09 +0000 Subject: [PATCH] Use Next.js standalone output for lean production runtime. Deploy can drop full node_modules and run .next/standalone/server.js (~100MB RSS). --- next.config.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/next.config.ts b/next.config.ts index e4bdf5e..acd809f 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,6 +1,8 @@ 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" },