Skip to content

Commit

Permalink
Node.js works fine under :optimizations :none now
Browse files Browse the repository at this point in the history
  • Loading branch information
swannodette committed Mar 9, 2015
1 parent e930883 commit 167d098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/cljs/closure.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1438,7 +1438,7 @@ should contain the source for the given namespace name."
(apply output-unoptimized all-opts js-sources))]
;; emit Node.js bootstrap script for :none & :whitespace optimizations
(when (and (= (:target opts) :nodejs)
(#{:none :whitespace} (:optimizations opts)))
(not= (:optimizations opts) :whitespace))
(let [outfile (io/file (util/output-directory opts)
"goog" "bootstrap" "nodejs.js")]
(util/mkdirs outfile)
Expand Down

0 comments on commit 167d098

Please sign in to comment.