Skip to content

Commit 7d856d7

Browse files
committed
default :closure-module-roots to []
1 parent 18d1e57 commit 7d856d7

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/main/clojure/cljs/closure.clj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1915,7 +1915,10 @@
19151915
(not (false? (:optimize-constants opts))) (assoc :optimize-constants true))
19161916

19171917
(nil? (find (:closure-warnings opts) :check-types))
1918-
(assoc-in [:closure-warnings :check-types] :off))))
1918+
(assoc-in [:closure-warnings :check-types] :off)
1919+
1920+
(nil? (:closure-module-roots opts))
1921+
(assoc opts :closure-module-roots []))))
19191922

19201923
(defn process-js-modules
19211924
"Given the current compiler options, converts JavaScript modules to Google

0 commit comments

Comments
 (0)