Deploy can drop full node_modules and run .next/standalone/server.js (~100MB RSS).
13 lines
353 B
JavaScript
13 lines
353 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
// Leaner production runtime: deploy uses .next/standalone and drops node_modules.
|
|
output: "standalone",
|
|
reactStrictMode: true,
|
|
images: {
|
|
// Assets are local, pre-sized copies of the source site's media — serve as-is.
|
|
unoptimized: true,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|