I feel that managing CSS inclusion and third-party JS lib minification is kind 
of out of scope for CLJS compiler. Yes, these problems exists, but they are 
very broad, with a lot of solutions. I’m not sure we should try to solve them 
in CLJS compiler. I’m not even sure “preamble” feature should belong to CLJS 
compiler.

The goal of CLJS is get .cljs sources in and produce executable .js code out. 
How this .js will be used depends on your app: you might include it as is, you 
might concatenate it with libs (preabmle), etc.

:externs are important because without them libraries would not compile into 
executable .js source, therefore should be addressed somehow in compiler. 
Managing JS dependencies, minification, concatenation etc has, in my opinion, 
nothing to do with compilation.

-- 
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.

Reply via email to