cljsjs

adamfrey 2016-05-02T02:00:32.000222Z

@nonrecursive: cljsjs generates a deps.cljs file for each package. The deps.cljs is set up as specified by CLJS here: https://github.com/clojure/clojurescript/wiki/Packaging-Foreign-Dependencies. The deps-cljs task (https://github.com/cljsjs/boot-cljsjs/blob/master/src/cljsjs/boot_cljsjs/packaging.clj#L95) takes the first .js file that it finds and puts it as the :file key in deps.cljs, and the first .min.js file that it finds is under the :file-min key. The CLJS compiler uses the :file-min file only under :advanced and :simple optimizations (https://github.com/clojure/clojurescript/blob/6ba817065113313a15b0f027c6491e0bc732f3e9/src/main/clojure/cljs/closure.clj#L1713)

adamfrey 2016-05-02T02:00:47.000224Z

let me know if that’s not clear

adamfrey 2016-05-02T02:03:23.000225Z

to your actual question. non-minified javascript goes into the development dir and minified into the production dir, but I don’t actually know why those dirs were chosen

nonrecursive 2016-05-02T02:44:33.000227Z

@adamfrey that’s super helpful, thanks!