Skip to content

Commit 167d098

Browse files
committed
Node.js works fine under :optimizations :none now
1 parent e930883 commit 167d098

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/clj/cljs/closure.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1438,7 +1438,7 @@ should contain the source for the given namespace name."
14381438
(apply output-unoptimized all-opts js-sources))]
14391439
;; emit Node.js bootstrap script for :none & :whitespace optimizations
14401440
(when (and (= (:target opts) :nodejs)
1441-
(#{:none :whitespace} (:optimizations opts)))
1441+
(not= (:optimizations opts) :whitespace))
14421442
(let [outfile (io/file (util/output-directory opts)
14431443
"goog" "bootstrap" "nodejs.js")]
14441444
(util/mkdirs outfile)

0 commit comments

Comments
 (0)