On Tuesday, February 10, 2015 at 12:26:16 PM UTC-5, Viktor Kubinec wrote: > Dňa pondelok, 9. februára 2015 23:29:21 UTC+1 [email protected] > napísal(-a): > > Without seeing what exactly the code is calling it will be impossible to > > know for sure. But that is far beyond the size you should be seeing for a > > small, pure CLJS project under advanced compilation. You may be > > inadvertently pulling in large Closure dependencies into your code, but > > impossible to tell unless it can be independently reviewed. > > I've created hello world project that reproduce the problem : > https://github.com/Viktor-Kubinec/cljs-hello-world > > I've also commited the javascript file, it is ~1.2MB > You can run lein cljsbuild once to rebuild it > > Just in case my lein version : > lein -v > Leiningen 2.5.0 on Java 1.8.0_25 Java HotSpot(TM) 64-Bit Server VM
I can't explain why that particular version of Domina and ClojureScript emit 1.2MB advanced compiled files (but I can speculate that Domina probably shuffled its requires in a good way since 1.0.2), but updating both libraries to the latest versions (1.0.3 and 0.0-2816 respectively) results in a 94k advanced compiled file. T -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to the Google Groups "ClojureScript" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/clojurescript.
