2016-09-14 18:51:37 +00:00
|
|
|
(defproject simple-reagent "0.6.0"
|
2020-03-28 11:53:07 +00:00
|
|
|
:dependencies [[org.clojure/clojure "1.10.1"]
|
|
|
|
[org.clojure/clojurescript "1.10.597"]
|
|
|
|
[reagent "0.10.0"]
|
|
|
|
[figwheel "0.5.19"]]
|
2015-02-09 08:43:43 +00:00
|
|
|
|
2019-02-07 18:42:06 +00:00
|
|
|
:plugins [[lein-cljsbuild "1.1.7"]
|
2020-03-28 11:53:07 +00:00
|
|
|
[lein-figwheel "0.5.19"]]
|
2015-02-09 08:43:43 +00:00
|
|
|
|
2020-03-28 11:53:07 +00:00
|
|
|
:resource-paths ["resources" "target"]
|
|
|
|
:clean-targets ^{:protect false} [:target-path]
|
2015-02-09 08:43:43 +00:00
|
|
|
|
|
|
|
:profiles {:dev {:cljsbuild
|
2015-07-31 15:04:03 +00:00
|
|
|
{:builds {:client
|
|
|
|
{:figwheel {:on-jsload "simpleexample.core/run"}
|
|
|
|
:compiler {:main "simpleexample.core"
|
|
|
|
:optimizations :none}}}}}
|
2015-02-09 08:43:43 +00:00
|
|
|
|
|
|
|
:prod {:cljsbuild
|
2015-07-31 15:04:03 +00:00
|
|
|
{:builds {:client
|
|
|
|
{:compiler {:optimizations :advanced
|
|
|
|
:elide-asserts true
|
|
|
|
:pretty-print false}}}}}}
|
2015-02-09 08:43:43 +00:00
|
|
|
|
2020-03-28 11:53:07 +00:00
|
|
|
:figwheel {:repl false
|
|
|
|
:http-server-root "public"}
|
2015-02-09 08:43:43 +00:00
|
|
|
|
2015-07-31 15:04:03 +00:00
|
|
|
:cljsbuild {:builds {:client
|
|
|
|
{:source-paths ["src"]
|
2020-03-28 11:53:07 +00:00
|
|
|
:compiler {:output-dir "target/public/client"
|
|
|
|
:asset-path "client"
|
|
|
|
:output-to "target/public/client.js"}}}})
|