Nathan, yes, I'm using advanced compilation, thanks.

Thomas, my concern with using :modules is polluting the global scope. We 
deliver code for other companies to run on their websites and putting 
multiple variables on the global scope is too risky. That being said, maybe 
I can wrap each module's code in a function that aliases `window` - I 
haven't explored that avenue much.
When I last looked at where the KBs come from 
using https://github.com/danvk/source-map-explorer there were not many 
surprises - a lot of the size came from closure's libs, clojurescript.core, 
and my application code. The only third party libs I'm still using are 
preact and reagent.
I agree about cljs being competitive and providing something much better 
than what we get with plain js. Sadly, telling customers that our script is 
bigger because we use a better programming language doesn't always satisfy 
them. ¯\_(ツ)_/¯
Thanks for the suggestions.

-- 
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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to