22 lines
869 B
TypeScript
22 lines
869 B
TypeScript
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.
|
|
qualities: [70, 72, 75, 80, 82, 88, 90],
|
|
// Portfolio media served live from the meshkee API. The storage host has
|
|
// already changed once mid-project (parminstorage.ir -> parspack.net) —
|
|
// keep both around since either could be what a given item still points to.
|
|
remotePatterns: [
|
|
{ protocol: "https", hostname: "meshkee-storage.sas.amin.parminstorage.ir" },
|
|
{ protocol: "https", hostname: "cdn.meshkee.com" },
|
|
{ protocol: "https", hostname: "c804387.parspack.net" },
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|