Mercurial
diff gui_ze/README.md @ 192:b818a4561a3c hg-web
Added AI genreated README.md. Needed to be read.
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Sat, 24 Jan 2026 21:52:14 -0800 |
| parents | |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gui_ze/README.md Sat Jan 24 21:52:14 2026 -0800 @@ -0,0 +1,29 @@ +# gui_ze + +Bazel rules for building GUI applications and web frontends. + +## Files + +| File | Description | +|------|-------------| +| `gui_ze.bzl` | Starlark rules for web/GUI builds | +| `time_to_first_byte.sh` | TTFB measurement script | + +## Rules + +Provides Bazel rules for: +- Bundling JavaScript/TypeScript with esbuild +- Building WASM modules with Emscripten +- Packaging web applications + +## Usage + +```starlark +load("//gui_ze:gui_ze.bzl", "web_bundle", "wasm_cc_binary") + +web_bundle( + name = "app", + entry_point = "src/main.tsx", + ... +) +```