sitebuild

command
v0.0.46 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

sitebuild compiles a tinywasm/site project and generates static HTML/CSS/JS/SVG output.

Usage:

sitebuild [--out <dir>] <package-path>

The package at <package-path> must call site.AutoBuild() early in its main(). sitebuild compiles the package, runs it with --ssr-static-build <dir>, and exits with the same code as the subprocess.

Example:

sitebuild --out dist/ ./cmd/myapp

Jump to

Keyboard shortcuts

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