/
project.clj
31 lines (24 loc) · 1.11 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
(defproject simple-reagent "0.6.0"
:dependencies [[org.clojure/clojure "1.10.0"]
[org.clojure/clojurescript "1.10.516"]
[reagent "0.8.1"]
[figwheel "0.5.18"]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-figwheel "0.5.18"]]
:hooks [leiningen.cljsbuild]
:profiles {:dev {:cljsbuild
{:builds {:client
{:figwheel {:on-jsload "simpleexample.core/run"}
:compiler {:main "simpleexample.core"
:optimizations :none}}}}}
:prod {:cljsbuild
{:builds {:client
{:compiler {:optimizations :advanced
:elide-asserts true
:pretty-print false}}}}}}
:figwheel {:repl false
:server-port 3450}
:cljsbuild {:builds {:client
{:source-paths ["src"]
:compiler {:output-dir "target/client"
:output-to "target/client.js"}}}})