chore(node): build for the runtime the image carries

`engines`, `@types/node` and the three esbuild targets said node20 while both
stages of the image have been node:24-alpine for a while — and since
24.10.2026 the development machines run 24 too. So the bundles are built for
exactly the runtime that carries them instead of for a version nobody runs
any more.

`npm run check`: 110 files, 1825 tests, green on node 24.22.1.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
2026-10-24 15:49:02 +00:00
co-authored by Claude Opus 5
parent b4e0046a09
commit fd9bd1e421
6 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ export async function startServerF(editorBase: string, editorFolder?: string): P
bundle: true,
platform: 'node',
format: 'esm',
target: 'node20',
target: 'node24',
outdir: out,
outExtension: { '.js': '.mjs' },
external: ['pg-native'],