Documentation
¶
Overview ¶
build-web is a Dagger-based build tool for the React review-site frontend. It runs entirely inside a container and does not require Node.js to be installed locally.
Usage:
go run ./cmd/build-web # Dagger (requires Docker) BUILD_WEB_LOCAL=1 go run ./cmd/build-web # Local pnpm (requires node + pnpm)
The program walks up from the current working directory to find the repo root (by locating go.mod), builds web/review-site/ with pnpm inside a node:22 container, and copies the dist/ output to internal/cssvisualdiff/review/embed/public/ for go:embed.
Click to show internal directories.
Click to hide internal directories.