Skip to content

Commit

Permalink
fix bad preamble warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruce Hauman committed Jun 30, 2017
1 parent 6816b91 commit 7bec9ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sidecar/src/figwheel_sidecar/schemas/cljs_options.clj
Original file line number Diff line number Diff line change
Expand Up @@ -803,10 +803,10 @@ See the Closure Compiler Warning wiki for detailed descriptions.")
;; **** TODO add in the cljs.compiler unknown/similar-key warning here

;; these next warnings probably be elevated to an errors attach-reason
(attach-warning ":preamble has no effect when :optimizations is not :none"
(attach-warning ":preamble has no effect when :optimizations is :none"
(fn [{:keys [optimizations] :as cmpl}]
(not (and (contains? cmpl :preamble)
(not (opt-none? optimizations))))))
(opt-none? optimizations)))))

(attach-warning ":hashbang has no effect when :target is not :nodejs"
(fn [{:keys [target] :as cmpl}]
Expand Down

0 comments on commit 7bec9ee

Please sign in to comment.