32 lines
1.4 KiB
Clojure
32 lines
1.4 KiB
Clojure
(defproject simple "0.9.0"
|
|
:dependencies [[org.clojure/clojure "1.8.0"]
|
|
[org.clojure/clojurescript "1.9.908"]
|
|
[reagent "0.7.0"]
|
|
[re-frame "0.10.1"]]
|
|
|
|
:plugins [[lein-cljsbuild "1.1.5"]
|
|
[lein-figwheel "0.5.13"]]
|
|
|
|
:hooks [leiningen.cljsbuild]
|
|
|
|
:profiles {:dev {:cljsbuild
|
|
{:builds {:client {:figwheel {:on-jsload "simple.core/run"}
|
|
:compiler {:main "simple.core"
|
|
:asset-path "js"
|
|
:optimizations :none
|
|
:source-map true
|
|
:source-map-timestamp true}}}}}
|
|
|
|
:prod {:cljsbuild
|
|
{:builds {:client {:compiler {:optimizations :advanced
|
|
:elide-asserts true
|
|
:pretty-print false}}}}}}
|
|
|
|
:figwheel {:repl false}
|
|
|
|
:clean-targets ^{:protect false} ["resources/public/js"]
|
|
|
|
:cljsbuild {:builds {:client {:source-paths ["src"]
|
|
:compiler {:output-dir "resources/public/js"
|
|
:output-to "resources/public/js/client.js"}}}})
|