mirror of
https://github.com/storytold/photocraft.git
synced 2026-11-21 09:26:43 +00:00
The v0.4.0 release failed its web job: the wasm was 26,365,303 bytes, over the 24 MiB gate in packaging/web/package.sh and Cloudflare's 25 MiB per-file cap. The largest single item was ICU4X's CJK segmentation dictionary (3.8 MB), pulled in by parley's complex-scripts feature. Enable that feature on native targets only; the web build falls back to the generic Unicode rules for Japanese word boundaries and Thai/Lao/Khmer/Burmese line breaking. wasm: 26,368,656 -> 22,578,266 bytes (21.5 MiB), measured with trunk build --release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>