Fork me on GitHub
#om
<
2017-06-01
>
petterik17:06:16

Is cljs.analyzer only required in om/next.cljc because of self-hosted cljs? Requiring cljs.analyzer in om/next.cljc adds ~92KB uncompressed to advanced compiled js. If it's only there for self-hosted cljs, is it possible to some how not include it when one knows the code won't run in a self hosted environment?

anmonteiro17:06:03

@petterik it’s not there for self-hosted

anmonteiro17:06:57

I presume that the fact that the file is cljc makes it be included in the CLJS build

anmonteiro17:06:34

if you use the JVM compiler, we only use the analyzer during defui macroexpansion

anmonteiro17:06:47

I agree that it shouldn’t be included in the output but I don’t know how to fix

petterik17:06:35

Right, ok. Thanks

dvingo23:06:06

petterik, what do you use to see the size of specific namespaces?