Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix: include pnpm store path for ffmpeg-static in Vercel tracing (#12838)

YuTengjing5af5b80b8304
diff --git a/next.config.ts b/next.config.ts
index 559e37d95d1..cd30787a642 100644
--- a/next.config.ts
+++ b/next.config.ts
@@ -22,7 +22,10 @@ const vercelConfig = {
],
},
outputFileTracingIncludes: {
- '/api/webhooks/video/*': ['./node_modules/ffmpeg-static/ffmpeg'],
+ '/api/webhooks/video/*': [
+ './node_modules/ffmpeg-static/ffmpeg',
+ './node_modules/.pnpm/ffmpeg-static@*/node_modules/ffmpeg-static/ffmpeg',
+ ],
},
};
const nextConfig = defineConfig({