Skip to content

Commit 292a8a8

Browse files
committed
add cljs.build.api/add-implicit-options
1 parent bc4f3b5 commit 292a8a8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/main/clojure/cljs/build/api.clj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,13 @@
9696
;; =============================================================================
9797
;; Main API
9898

99+
(defn add-implicit-options
100+
"Given a valid map of build options add any standard implicit options. For
101+
example :optimizations :none implies :cache-analysis true and :source-map
102+
true."
103+
[opts]
104+
(closure/add-implicit-options opts))
105+
99106
(defn inputs
100107
"Given a list of directories and files, return a compilable object that may
101108
be passed to build or watch."

0 commit comments

Comments
 (0)