Testers wanted: protocol pruning for smaller client bundles

:test_tube: Could use a hand testing something. Just landed a protocol pruning enhancement - the compiler now drops protocol implementations your app can’t actually reach, so every app gets smaller client bundles. Biggest win for apps whose deps ship lots of impls (Ash, ex_money, ex_cldr, decimal and friends), where the old behavior could explode the bundle and even stack-overflow the browser.

{:hologram, github: "bartblast/hologram", ref: "cab6efaedce58c1fe01582088b1ffeef6524364c"}

mix deps.update hologram, rebuild, then click through your pages (navigation, actions, anything that renders structs) and watch the browser console for client-side errors.

Bonus: compare your bundle sizes before and after, the runtime bundle especially (that’s the one that was blowing up) - would love to hear the numbers.

2 Likes