Skip to content

Commit cd1144f

Browse files
Copilothotlong
andcommitted
fix: shorten vercel.json includeFiles glob to stay under 256-char limit
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com> Agent-Logs-Url: https://github.com/objectstack-ai/hotcrm/sessions/2f841c8b-668f-466e-9bae-fa303acb1715
1 parent b6e967c commit cd1144f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/DEPLOYMENT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Build pipeline:
292292
| `buildCommand` | `bash scripts/build-vercel.sh` | Runs the Vercel build script that builds core, patches console plugin, then compiles all business plugins |
293293
| `functions.memory` | `1024` MB | Memory allocated to the serverless function |
294294
| `functions.maxDuration` | `60` s | Maximum execution time per request (Pro plan) |
295-
| `functions.includeFiles` | `{packages/*/dist,node_modules/@object-ui/console/dist,node_modules/@objectstack/plugin-auth/dist,node_modules/@objectstack/studio/dist}/**` | Bundles business plugin dist/, Auth plugin, and Console/Studio SPA assets with the function |
295+
| `functions.includeFiles` | `{packages/*/dist,node_modules/@object-ui/console/dist,node_modules/@objectstack/*/dist,node_modules/@libsql,node_modules/better-sqlite3,node_modules/@opentelemetry/api}/**` | Bundles business plugin dist/, all @objectstack packages (including Auth, Studio, TursoDriver), libSQL/better-sqlite3 native deps, and OpenTelemetry with the function |
296296
| `rewrites` | `/(.*) → /api/[[...route]]` | Routes all requests to the catch-all handler |
297297

298298
### Architecture Details

vercel.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"api/**/*.ts": {
88
"memory": 1024,
99
"maxDuration": 60,
10-
"includeFiles": "{packages/*/dist,node_modules/@object-ui/console/dist,node_modules/@objectstack/plugin-auth/dist,node_modules/@objectstack/service-i18n/dist,node_modules/@objectstack/studio/dist,node_modules/@objectstack/driver-turso/dist,node_modules/@objectstack/driver-sql/dist,node_modules/@libsql,node_modules/better-sqlite3,node_modules/@opentelemetry/api}/**"
10+
"includeFiles": "{packages/*/dist,node_modules/@object-ui/console/dist,node_modules/@objectstack/*/dist,node_modules/@libsql,node_modules/better-sqlite3,node_modules/@opentelemetry/api}/**"
1111
}
1212
},
1313
"rewrites": [

0 commit comments

Comments
 (0)