Commit 429d192
fix: bundle @libsql/client to resolve Vercel deployment issue
Bundle @libsql/client into the serverless function instead of keeping
it external. This resolves the "Cannot find package '@libsql/client'"
error that persisted even with includeFiles configuration.
Changes:
- Remove @libsql/client from EXTERNAL array in bundle-api.mjs
- Remove @libsql from includeFiles pattern in vercel.json
- Stop copying @libsql packages in build-vercel.sh
@libsql/client is pure JavaScript with no native bindings, so bundling
it completely eliminates runtime dependency resolution issues.
Agent-Logs-Url: https://github.com/objectstack-ai/framework/sessions/b7028017-b002-464e-845b-4757cf731cdd
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>1 parent 9d438f5 commit 429d192
File tree
3 files changed
+6
-13
lines changed- apps/studio
- scripts
3 files changed
+6
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | 55 | | |
65 | 56 | | |
66 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
20 | 22 | | |
21 | 23 | | |
22 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
0 commit comments