From 77131158f755a93d2c91d3d592cfefe65975dda5 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Sat, 12 Jul 2025 14:41:10 -0700 Subject: [PATCH] Updated build config for Vercel. --- next.config.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/next.config.ts b/next.config.ts index f2c07aff..e52df6ab 100644 --- a/next.config.ts +++ b/next.config.ts @@ -199,6 +199,18 @@ export default { typescript: { ignoreBuildErrors: true, }, + functions: { + 'app/api/**/*.js': { + maxDuration: 30, + }, + }, + outputFileTracing: { + include: [ + 'src/generated/prisma/**/*', + 'node_modules/@prisma/client/**/*', + 'node_modules/.prisma/client/**/*', + ], + }, async headers() { return headers; },