From 849fe4b2c6dbc49581d930f0555d3f3faa3b2599 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Wed, 4 Nov 2026 13:15:49 +0100 Subject: [PATCH] build: stop tracing the musl canvas prebuilts the glibc image never loads --- next.config.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/next.config.ts b/next.config.ts index a4813cdab..25c5c3724 100644 --- a/next.config.ts +++ b/next.config.ts @@ -327,13 +327,11 @@ const nextConfig: NextConfig = { // image-only-wire provider (codex/OAuth) can read it — the ambient // auto-read path. `@napi-rs/canvas` loads a native `.node` binary that the // Turbopack NFT tracer resolves dynamically and therefore misses, so pin - // the JS loader AND the two musl prebuilts (the Alpine runtime image is - // amd64 + arm64) into the standalone image explicitly. pnpm keeps them - // unhoisted under `.pnpm`. No cairo/pango apk is needed — the prebuilt - // `.node` is self-contained. + // the JS loader into the standalone image explicitly. The glibc prebuilt + // the Debian runtime image loads is placed by the Dockerfile's canvas + // hoist step, which `canvas-binary-hoist-guard.test.ts` pins. No system + // cairo/pango is needed: the prebuilt `.node` is self-contained. "./node_modules/.pnpm/@napi-rs+canvas@*/node_modules/@napi-rs/canvas/**", - "./node_modules/.pnpm/@napi-rs+canvas-linux-x64-musl@*/node_modules/@napi-rs/canvas-linux-x64-musl/**", - "./node_modules/.pnpm/@napi-rs+canvas-linux-arm64-musl@*/node_modules/@napi-rs/canvas-linux-arm64-musl/**", ], }, // v1.4.34 — silence the Turbopack NFT trace warnings emitted