Files
twenty/packages
Charles Bochet 2e5406dad5 Fix 1.17 upgrade crash when built-function folder is missing
Serverless functions created in v1.14 only have source files
(serverless-function/{id}/draft/src/index.ts). The built files
(built-function/{id}/draft/index.mjs) are only created when a
function is executed. The migration assumed both always exist,
crashing with ENOENT (local storage) or "Missing index.mjs"
(S3) for never-executed functions.

When the built folder is missing, build the source on the fly
using esbuild with the same config used elsewhere in the codebase.
2026-04-13 18:45:37 +02:00
..
2026-02-10 11:48:10 +01:00
2026-02-10 12:35:37 +01:00