- Add output: 'standalone' to next.config.ts for Docker three-stage build
- Change postgres(url) to postgres(url, { max: 5 }) to avoid Neon free tier exhaustion
- Remove dead @vercel/blob dependency (imported nowhere in codebase)
10 lines
226 B
TypeScript
10 lines
226 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone',
|
|
transpilePackages: ['react-pdf', 'pdfjs-dist'],
|
|
serverExternalPackages: ['@napi-rs/canvas'],
|
|
};
|
|
|
|
export default nextConfig;
|