Thursday 15 March 2012

javascript - Using plain .js files (Google Closure'd) in ClojureScript build with lein-cljsbuild -


I have some plain in my clozerysysk project. I want to use JS files. I'm using it lein-cljsbuild and the .js files are standard Google Clusters namespace with the appropriate goog.provide declarations. I basically want to merge them into compile sources, which is to close the compiler Is it possible?

You can add your closing-aware JS file to : In your build specification < Code>: compiler key under the Libs key:

  ;; In project.clj: cljsbuild {: Builds [[:: Source: Path [...]: compiler {: libs ["foo.js"]; & Lt; - Add labs here ...}}}}}    

No comments:

Post a Comment