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
Click to show internal directories.
Click to hide internal directories.