I'm creating a transform that takes closure-optimized code (e.g. cherry's core.js derived from CLJS's core.cljs) and make it treeshakeable by modern bundler. Replicant tictactoe example in Cherry 75kb -> 45kb. In vanilla CLJs with closure: 75kb. So finally cherry's treeshaking problems will be over (I need to mull it over for another few days probably)
Impressive!
I saw there was a cherry PR for replicant, I’ll get on it. I’m on vacation, so things are a little slow 😊
no problem
Delightfully minimal changes 😄
Ah, wait. Replicant was compiled with :figwheel + pretty-print true, so false comparison :) Closure replicant comes at 41kb and cherry (with the tree-shaking fix) at 44kb, so same ballpark - this makes sense now