Project skeleton: Next.js 15 + TypeScript, standalone output
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
// Smart Deploy's generated Dockerfile runs the standalone server (node server.js).
|
||||
// Setting it here keeps local `npm run build` identical to what gets deployed.
|
||||
output: 'standalone',
|
||||
poweredByHeader: false,
|
||||
reactStrictMode: true,
|
||||
serverExternalPackages: ['pg'],
|
||||
};
|
||||
|
||||
export default nextConfig;
|
||||
Reference in New Issue
Block a user