Hey,

I have seen Servant but I do not like it. In general I do not like 
solutions that use macros to solve problems a build tool should solve. YMMV.

cljs-runtime is the directory used by shadow-build for all compiled files. 
The structure it creates is that you have one directory, with a .js file 
for each module [1]. These .js files then load the .js and .map files in 
the cljs-runtime diretory. For :none builds the module files only contain a 
bunch of goog.require statements that mirror namespaces only used by these 
modules [2]. The base module includes goog/base.js and all setup stuff. For 
optimized builds (:whitespace and up) the directory with the module files 
contain the actual code and the cljs-runtime directory is no longer 
relevant. This is a very different structure from what CLJS or boot produce.

I use this project for tests and accidentally included some more output 
that should not have been there. Just pushed a cleaner version that 
actually only contains stuff used by this version of the project.

Anyways ... Modules for the win! ;)

Cheers,
/thomas


[1] https://github.com/thheller/worker-example/tree/master/demo/js
[2] https://github.com/thheller/worker-example/blob/master/demo/js/demo.js


On Saturday, February 20, 2016 at 2:29:56 AM UTC+1, William la Forge wrote:
>
> Thomas,
>
> Your worker demo includes the entire cljs runtime as part of the project? 
> https://github.com/thheller/worker-example/tree/master/demo/js/cljs-runtime
>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to