I'm working on a project created using the chestnut template and there are some 
things that I do not understand about some elements of this temnplate.

In project.clj we have:

  :cljsbuild {:builds {:app {:source-paths ["src/cljs"]
                             :compiler {:output-to     
"resources/public/js/app.js"
                                        :output-dir    "resources/public/js/out"
                                        :source-map    
"resources/public/js/out.js.map"
                                        :preamble      ["react/react.min.js"]
                                        :externs       
["react/externs/react.js"]
                                        :optimizations :none
                                        :pretty-print  true}}}}

so the minified version is preappended to the javascript generated in app.js.

But in the routes in the server I find:

  (resources "/react" {:root "react"})

as if the server should serve a resource for react (and I cannot find anything 
in a supposed directoru resources/react).

CAn anyone explain what this route is all about?

Thanks,

Juan Manuel

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