We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
:lite-mode
:elide-to-string?
1 parent 7c718ad commit 3e922aaCopy full SHA for 3e922aa
src/main/clojure/cljs/closure.clj
@@ -2532,8 +2532,12 @@
2532
(update-in [:preamble] #(into (or % []) ["cljs/imul.js"]))
2533
2534
(:lite-mode opts)
2535
- (assoc-in [:closure-defines (str (comp/munge 'cljs.core/LITE_MODE))]
2536
- (:lite-mode opts))
+ (->
+ (assoc-in [:closure-defines (str (comp/munge 'cljs.core/LITE_MODE))]
2537
+ (:lite-mode opts))
2538
+ (merge
2539
+ (when-not (contains? opts :elide-to-string)
2540
+ {:elide-to-string true})))
2541
2542
(:target opts)
2543
(assoc-in [:closure-defines (str (comp/munge 'cljs.core/*target*))]
0 commit comments