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?
@petterik it’s not there for self-hosted
oh
but
I presume that the fact that the file is cljc
makes it be included in the CLJS build
if you use the JVM compiler, we only use the analyzer during defui
macroexpansion
I agree that it shouldn’t be included in the output but I don’t know how to fix
Right, ok. Thanks
petterik, what do you use to see the size of specific namespaces?