cljs.build.api/target-file-for-cljs-ns
function | since v0.0-2496 | Edit |
(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) ->
(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)))