build-web

command
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2026 License: MIT Imports: 7 Imported by: 0

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`.

Jump to

Keyboard shortcuts

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