Use Next.js standalone output for lean production runtime.

Deploy can drop full node_modules and run .next/standalone/server.js (~100MB RSS).
This commit is contained in:
websites-deploy
2026-09-08 06:53:55 +00:00
parent 00bf4b599c
commit aa9ee4cea0
+2
View File
@@ -1,4 +1,6 @@
const nextConfig = {
// Leaner production runtime: deploy uses .next/standalone and drops node_modules.
output: "standalone",
images: {
remotePatterns: [
{ protocol: "https", hostname: "api.meshkee.com" },