Deploy can drop full node_modules and run .next/standalone/server.js (~100MB RSS).
29 lines
643 B
TypeScript
29 lines
643 B
TypeScript
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: "meshkee-templates.sas.amin.parminstorage.ir",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "meshkee-storage.sas.amin.parminstorage.ir",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "c804387.parspack.net",
|
|
},
|
|
{
|
|
protocol: "https",
|
|
hostname: "cdn.meshkee.com",
|
|
},
|
|
],
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|