                         :compiler {:output-to ~(js-dir "lib/main.js")
                                    :output-dir ~(js-dir "lib/out-prod")
                                    :optimizations :advanced
+                                   :preamble ~js-preamble
                                    :pretty-print false}
                         :jar true}}
               :test-commands {"unit-test"

(defn js-dir
  "Prefix with full JavaScript directory."
  [path]

                                         "target/main-test.js"]
                        :compiler {:output-to "target/main-test.js"
                                   :optimizations :whitespace
                                   :preamble ~js-preamble
                                   :pretty-print true}}
                       :prod
                       {:source-paths ["src/cljs"
