Skip to content

The design language that makes your AI harness better at design.

JavaScript

Fix: Include source and dist directories in Vercel serverless functions

Paul Bakaus11f9b284ff12
diff --git a/vercel.json b/vercel.json
index 8d5fa3148..5f70fff6c 100644
--- a/vercel.json
+++ b/vercel.json
@@ -1,6 +1,11 @@
{
"$schema": "https://openapi.vercel.sh/vercel.json",
"buildCommand": "bun run build",
- "outputDirectory": "build"
+ "outputDirectory": "build",
+ "functions": {
+ "api/**/*.js": {
+ "includeFiles": "source/**,dist/**"
+ }
+ }
}