We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0972a2 commit 5966062Copy full SHA for 5966062
1 file changed
next.config.js
@@ -3,10 +3,15 @@ const withBundleAnalyzer = require('@next/bundle-analyzer')({
3
enabled: process.env.ANALYZE === 'true',
4
})
5
6
+const path = require('path')
7
+
8
/** @type {import('next').NextConfig} */
9
const nextConfig = {
- // Docker/standalone output for RunPod deployment
- output: 'standalone',
10
+ // Use standalone only for Docker/RunPod, not Vercel
11
+ output: process.env.VERCEL ? undefined : 'standalone',
12
13
+ // Fix Vercel output tracing for route groups with parentheses
14
+ outputFileTracingRoot: path.join(__dirname, './'),
15
16
// Performance optimizations
17
compress: true,
0 commit comments