Skip to content

Commit 837aeaf

Browse files
lynaghkdnolen
authored andcommitted
CLJS-2007: Whitespace optimizations should respect :main option.
1 parent 3c0c775 commit 837aeaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/clojure/cljs/closure.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2267,7 +2267,7 @@
22672267
warnings)))
22682268
ana/*verbose* (:verbose opts)]
22692269
(let [one-file? (and (:main all-opts)
2270-
(#{:advanced :simple} (:optimizations all-opts)))
2270+
(#{:advanced :simple :whitespace} (:optimizations all-opts)))
22712271
source (if one-file?
22722272
(let [main (:main all-opts)
22732273
uri (:uri (cljs-source-for-namespace main))]

0 commit comments

Comments
 (0)