mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-02 06:17:22 -06:00
The 0.6.0 web build was 26.9 MB, over packaging/web/package.sh's 24 MiB gate (Cloudflare's per-file cap is 25 MiB, #198). The i18n .tsv catalogs (1.85 MB -> 0.64 MB) and the Inter/JetBrains Mono fonts (1.52 MB -> 0.73 MB) are now deflated by build.rs and inflated on first use, so wasm is 25,141,080 bytes. No visible change. A catalog that fails to inflate falls back to English, a font that fails falls back to egui's default font; neither panics. Headroom is only ~25 KB: the next size cut is needed soon (fetching catalogs on demand would save another ~0.64 MB). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>