Enable Next.js standalone output for leaner production deploys.

This commit is contained in:
Alireza Hassani
2026-08-13 20:41:26 +03:30
parent c4e8a54623
commit 2fb94d3c05
+2
View File
@@ -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: {
formats: ["image/avif", "image/webp"],
// Every quality value used across the page. Required from Next.js 16 on.