We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 367e2fb commit a639beaCopy full SHA for a639bea
1 file changed
src/main/clojure/cljs/closure.clj
@@ -201,6 +201,10 @@
201
(. compiler-options
202
(setExtraAnnotationNames (map name (:closure-extra-annotations opts)))))
203
204
+ (when (contains? opts :closure-module-roots)
205
+ (. compiler-options
206
+ (setModuleRoots (:closure-module-roots opts))))
207
+
208
209
(setOutputCharset (to-charset (:closure-output-charset opts "UTF-8"))) ;; only works > 20160125 Closure Compiler
210
)
@@ -1527,7 +1531,7 @@
1527
1531
(-> opts
1528
1532
(select-keys
1529
1533
[:closure-warnings :closure-extra-annotations :pretty-print
1530
- :language-in :language-out])
1534
+ :language-in :language-out :closure-module-roots])
1535
(set-options (CompilerOptions.))))
1536
1537
(defn get-js-root [closure-compiler]
0 commit comments