openpencil/crates/op-editor-ui/assets
Kayshen-X e7c0f3f292 perf: lazy-load the iconify brand-logo catalog off the web first-load
The Iconify catalog was 41% of the web wasm; ~91% of its bytes are 3700
simple-icons brand logos vs only 0.46 MB for lucide+feather. Split it: embed the
core UI sets, load brands at runtime — desktop embeds + serves them
(/assets/iconify-catalog-brands.json), web fetches that route at mount and
registers via set_brand_catalog. Web wasm 13.7 -> 8.2 MB raw, 4.17 -> 2.18 MB
gzip (-48% over the wire); desktop keeps all icons. Brands registered in main()
before every native render path (GUI / --render-shots / MCP).
2026-06-19 14:32:47 +08:00
..
iconify-catalog-brands.json perf: lazy-load the iconify brand-logo catalog off the web first-load 2026-06-19 14:32:47 +08:00
iconify-catalog-core.json perf: lazy-load the iconify brand-logo catalog off the web first-load 2026-06-19 14:32:47 +08:00