Mercurial
diff gui_ze/README.md @ 195:f8f5004a920a
Merging back hg-web-tip
| author | MrJuneJune <me@mrjunejune.com> |
|---|---|
| date | Tue, 27 Jan 2026 06:51:44 -0800 |
| parents | b818a4561a3c |
| children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gui_ze/README.md Tue Jan 27 06:51:44 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", + ... +) +```