Documentation
¶
Overview ¶
build-web is a Dagger-based build tool for the React frontend. It runs inside a container when Dagger is available and falls back to local pnpm when requested or when the Dagger engine is unavailable.
The program walks up from the current working directory to find the repo root (by locating go.mod), builds web/ with pnpm, and copies the dist/ output to pkg/web/embed/public/ for embedding in production builds via `go build -tags embed`.
Click to show internal directories.
Click to hide internal directories.