Mercurial
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 189:14cc84ba35a0 | 195:f8f5004a920a |
|---|---|
| 1 # gui_ze | |
| 2 | |
| 3 Bazel rules for building GUI applications and web frontends. | |
| 4 | |
| 5 ## Files | |
| 6 | |
| 7 | File | Description | | |
| 8 |------|-------------| | |
| 9 | `gui_ze.bzl` | Starlark rules for web/GUI builds | | |
| 10 | `time_to_first_byte.sh` | TTFB measurement script | | |
| 11 | |
| 12 ## Rules | |
| 13 | |
| 14 Provides Bazel rules for: | |
| 15 - Bundling JavaScript/TypeScript with esbuild | |
| 16 - Building WASM modules with Emscripten | |
| 17 - Packaging web applications | |
| 18 | |
| 19 ## Usage | |
| 20 | |
| 21 ```starlark | |
| 22 load("//gui_ze:gui_ze.bzl", "web_bundle", "wasm_cc_binary") | |
| 23 | |
| 24 web_bundle( | |
| 25 name = "app", | |
| 26 entry_point = "src/main.tsx", | |
| 27 ... | |
| 28 ) | |
| 29 ``` |