cljs.build.api/target-file-for-cljs-ns

functionsince v0.0-2496Edit
(target-file-for-cljs-ns ns-sym)
(target-file-for-cljs-ns ns-sym output-dir)

Source docstring:
Given an output directory and a clojurescript namespace return the
compilation target file for that namespace.

For example:
(target-file-from-cljs-ns "resources/out" 'example.core) ->
Source code @ clojurescript:src/main/clojure/cljs/build/api.clj
(defn ^File target-file-for-cljs-ns
  ([ns-sym] (closure/target-file-for-cljs-ns ns-sym nil))
  ([ns-sym output-dir] (closure/target-file-for-cljs-ns ns-sym output-dir)))