fix(deploy): use trunk build for frontend, not pnpm

This commit is contained in:
asepharyana
2026-07-05 07:06:34 +07:00
parent 0668862db5
commit 03b257d5a7
+3 -1
View File
@@ -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