arj03 / ssb-browser-demo

A secure scuttlebutt client interface running in the browser
Other
58 stars 11 forks source link

Optimize inline #160

Closed KyleMaas closed 3 years ago

KyleMaas commented 3 years ago

This makes a few changes for inline builds:

  1. It now shows how much space the inlined output consumes after each additional file is embedded, so space hogs can be tracked down.
  2. It uses an older smaller version of Noto Emoji (from here: https://github.com/googlefonts/noto-emoji/tree/733a62212930376600d0b2fc32449f6e5a7158cb/fonts ) when inlining, to save space. Regular builds are unaffected by this.
  3. The font on Floral Garden Bird has been changed to Blocus instead of TT2020.

Altogether, this has reduced the inlined size from about 22.5MB to about 14.5MB.

Fixes #158, as much as I can for now.

arj03 commented 3 years ago

Thanks