-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
30 lines (23 loc) · 1.25 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
(defproject demo "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-3211"]
[reagent "0.5.0"]
[re-frame "0.4.1"]]
:source-paths ["src/clj"]
:plugins [[lein-cljsbuild "1.0.6"]
[lein-figwheel "0.3.3" :exclusions [cider/cider-nrepl]]]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target" "test/js"]
:cljsbuild {:builds [{:id "dev"
:source-paths ["src/cljs"]
:figwheel {:on-jsload "demo.core/mount-root"}
:compiler {:main demo.core
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/out"
:asset-path "js/compiled/out"
:source-map-timestamp true}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main demo.core
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:pretty-print false}}]})