go-html/cmd/wasm
Snider 29bd63d751
Some checks are pending
Security Scan / security (push) Waiting to run
Test / test (push) Waiting to run
fix: add stub main() for non-WASM builds in cmd/wasm
The WASM main.go is gated behind //go:build js && wasm, leaving
register.go (//go:build !js) as the only file on native builds —
but it had no main(). Adds a stub that prints a usage hint.

Co-Authored-By: Virgil <virgil@lethean.io>
2026-02-23 06:31:14 +00:00
..
main.go fix(wasm): reduce binary from 1.56MB to 830KB gzip 2026-02-20 08:29:54 +00:00
register.go fix: add stub main() for non-WASM builds in cmd/wasm 2026-02-23 06:31:14 +00:00
register_test.go feat(wasm): add registerComponents export for WC codegen 2026-02-17 20:50:50 +00:00
size_test.go test(wasm): add binary size gate test 2026-02-20 08:42:58 +00:00
test.html test: add WASM browser test harness 2026-02-17 00:15:26 +00:00