Closed borkdude closed 1 year ago
A small additional note:
To use SCI + cherry in one advanced build you need to use the newest commit from CLJS, except if you are using shadow-cljs:
https://github.com/clojure/clojurescript/commit/0ccd19fc79f04a5082764901bd6413a5841ca428
Needed 721eb361b5064ffa6b7fd4f072a27baed8096e3e so that the bundle size test app still work, e.g.
npx shadow-cljs run shadow.cljs.build-report app /tmp/report.html
npx shadow-cljs run shadow.cljs.build-report app-sci /tmp/report.html #failed
npx shadow-cljs run shadow.cljs.build-report app2 /tmp/report.html
npx shadow-cljs run shadow.cljs.build-report app2-sci /tmp/report.html #failed
Happy to merge this already, but if you could write a quick how-to into README, that would be awesome.
Maybe add shadow :build
for cherry too to see the effects on bundle size?
@ikitommi OK, I'll update the README and a shadow build.
@ikitommi Done
Beutifull, thanks!!
@ikitommi I'm sure you have some feedback, fire away. I think I should add some docs on how to enable cherry with malli. In short: just add the cherry dependency and require
malli.cherry
.