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

                        :compiler {:output-to ~(js-dir "lib/main.js")
                                   :output-dir ~(js-dir "lib/out")
                                   :optimizations :whitespace
                                   :pretty-print true
                                   :source-map ~(js-dir "lib/main.js.map")}}
                       :test

(def js-preamble
  ["META-INF/resources/webjars/SlickGrid/2.1/lib/jquery-1.7.min.js"
   "META-INF/resources/webjars/SlickGrid/2.1/lib/jquery.event.drag-2.2.js"
   "META-INF/resources/webjars/SlickGrid/2.1/slick.core.js"
   "META-INF/resources/webjars/SlickGrid/2.1/slick.grid.js"
   "META-INF/resources/webjars/SlickGrid/2.1/controls/slick.pager.js"
   "META-INF/resources/webjars/SlickGrid/2.1/slick.dataview.js"])

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