From 0f13ed39b44eb0d9fe54327c6fddb2aae277ae96 Mon Sep 17 00:00:00 2001 From: Schwitzz Date: Fri, 30 Oct 2026 13:03:31 -0500 Subject: [PATCH] build: resolve esbuild binary from pnpm store in build-deb.sh --- desktop/build-deb.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/build-deb.sh b/desktop/build-deb.sh index c774edb..4a101ef 100755 --- a/desktop/build-deb.sh +++ b/desktop/build-deb.sh @@ -38,7 +38,8 @@ EOF # Bundle server TypeScript + Fastify + @pubscript/core into a single ESM file, # keeping only native addons (better-sqlite3, argon2) external. -./apps/web/node_modules/.bin/esbuild server/src/index.ts \ +ESBUILD_BIN="$(find "$ROOT_DIR/node_modules/.pnpm" -path '*/esbuild/bin/esbuild' -type f | head -n 1)" +"$ESBUILD_BIN" server/src/index.ts \ --bundle \ --platform=node \ --target=node22 \