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:54:08 +00:00
parent f16b47966b
commit d0fe5fcbba
+2
View File
@@ -1,5 +1,7 @@
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
// Leaner production runtime: deploy uses .next/standalone and drops node_modules.
output: "standalone",
reactStrictMode: true, reactStrictMode: true,
images: { images: {
// Blog covers, favicons and logos are uploaded through the Meshkee // Blog covers, favicons and logos are uploaded through the Meshkee