build-web

command
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2026 License: MIT Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL