forked from chrisabird/pack-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
65 lines (52 loc) · 2.19 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
(defproject pack-builder "0.1.0"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.8.51"]
[reagent "0.5.1"]
[binaryage/devtools "0.6.1"]
[funcool/promesa "1.5.0"]
[re-frame "0.7.0"]]
:plugins [[lein-cljsbuild "1.1.3"]]
:min-lein-version "2.5.3"
:source-paths ["src/clj"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:figwheel {:css-dirs ["resources/public/css"]}
:profiles
{:dev
{:dependencies []
:plugins [[lein-figwheel "0.5.4-3"]]
}}
:cljsbuild
{:builds
[
{:id "dev"
:source-paths ["src/cljs"]
:figwheel {:on-jsload "pack-builder.core/mount-root"}
:compiler {:main pack-builder.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 "test"
:source-paths ["src/cljs", "test/cljs"]
:figwheel {:on-jsload "pack-builder.test.core/run"}
:compiler {:main pack-builder.test.core
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/out-test"
:asset-path "js/compiled/out-test"
:source-map-timestamp true}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main pack-builder.core
:output-to "dist/web/js/compiled/app.js"
:optimizations :advanced
:closure-defines {goog.DEBUG false}
:pretty-print false}}
{:id "app"
:source-paths ["src/cljs"]
:compiler {:main pack-builder.core
:output-to "app/js/compiled/app.js"
:optimizations :advanced
:closure-defines {goog.DEBUG false}
:pretty-print false}}
]}
)