mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-12-05 19:25:00 +03:00
Reduce WebAssembly, Android, and iOS artifact sizes across the native client workspace without dropping editor features. 1. Switch the playground WebAssembly build to the size profile without LTO. 2. Add a fat-LTO cdylib profile with path remapping for the four preview workers. 3. Remove unused SVG font and emoji regex fallback code from `ui`. 4. Deduplicate shared WGSL shader source in `.rodata` and pass `Path` by borrow in `Window::paint_path`. 5. Decouple `svg-text` from `blocksuite-preview` worker features and call `merman::Renderer::render_svg_data`. 6. Disable ELK layout in `merman` so all 35 diagram families use Dagre or Cytoscape. 7. Strip `libaffine_android_host.so` with NDK `llvm-strip` in `package-debug-apk.sh`. 8. Remove redundant `opt-level=0` overrides from the iOS CI workflow and bump its cache key.