Documentation
¶
Overview ¶
build-web is a Dagger-based build tool for the React frontend. It runs entirely inside a container and does not require Node.js to be installed locally.
The program walks up from the current working directory to find the repo root (by locating go.mod), builds web/ with pnpm inside a node:22 container, and copies the dist/ output to pkg/web/dist/ for embedding via //go:embed in pkg/web. Generation is triggered by `go generate ./pkg/web`.
Click to show internal directories.
Click to hide internal directories.