om

Please ask the channel first, not @dnolen directly!
petterik 2017-06-01T17:24:16.950289Z

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?

anmonteiro 2017-06-01T17:25:03.967932Z

@petterik it’s not there for self-hosted

petterik 2017-06-01T17:25:10.970483Z

oh

anmonteiro 2017-06-01T17:25:16.972810Z

but

anmonteiro 2017-06-01T17:25:57.988801Z

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

anmonteiro 2017-06-01T17:26:34.002510Z

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

anmonteiro 2017-06-01T17:26:47.007174Z

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

petterik 2017-06-01T17:28:35.048184Z

Right, ok. Thanks

2017-06-01T23:33:06.905265Z

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