From 03b257d5a70c8bd20931f5e0f54f283324e2260e Mon Sep 17 00:00:00 2001 From: asepharyana Date: Sun, 5 Jul 2026 07:06:34 +0700 Subject: [PATCH] fix(deploy): use trunk build for frontend, not pnpm --- deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 6820988..a095de2 100755 --- a/deploy.sh +++ b/deploy.sh @@ -122,7 +122,9 @@ if $DO_BUILD; then if $DO_FRONTEND; then log "Building frontend (WASM)..." - pnpm --filter frontend run build 2>&1 | tail -5 || die "Frontend build failed" + cd services/frontend/frontend + trunk build --release 2>&1 | tail -5 || die "Frontend build failed" + cd "$REPO_ROOT" ok "Frontend built" fi