-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
43 lines (36 loc) · 1.73 KB
/
shadow-cljs.edn
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
;; shadow-cljs configuration
{:source-paths
["src/main"
"src/test"]
:dependencies
[[binaryage/devtools "0.9.10"]
[reagent "1.0.0"]
[re-frame "1.2.0"]
[day8.re-frame/re-frame-10x "1.0.1"]
[day8.re-frame/tracing "0.5.3"]
[org.clojars.ertucetin/re-frame-flow "0.1.1"]
[bidi "2.1.6"]
[com.rpl/specter "1.1.3"]]
:nrepl {:port 3333}
:dev-http {8080 "public"}
:builds {:app {:target :browser
:output-dir "public/js"
:modules {:main {:init-fn exfn.app/init}}
:dev {:compiler-options {:closure-defines {re-frame.trace/trace-enabled? true
day8.re-frame.tracing/trace-enabled? true}}}
:devtools {:http-root "public"
:http-port 3000
:preloads [day8.re-frame-10x.preload
re-frame-flow.preload]}
:compiler-options {:closure-defines {re-frame.trace.trace-enabled? true}
:silence-optimizations-warning true
;; in production so you can do an :advanced compile.
:optimizations :simple}
:release {:build-options {:ns-aliases {day8.re-frame.tracing day8.re-frame.tracing-stubs}}}}
:release {:target :browser
:output-dir "public/js"
:modules {:main {:init-fn exfn.app/init}}
:compiler-options {:optimizations :advanced}}
:test {:target :karma
:ns-regexp "-tests$"
:output-to "target/ci.js"}}}