-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
34 lines (29 loc) · 969 Bytes
/
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
;; shadow-cljs configuration
{:source-paths
["src/dev"
"src/"]
:dependencies
[[reagent "1.1.1"]
[binaryage/devtools "1.0.6"]
[re-frame "1.4.2"]
[design.kushi/kushi "1.0.0-a.19"]]
:dev-http
{8020 "public"
8021 "out/test"}
;; Add cache-blockers for Kushi's side-effecting macros
:cache-blockers #{kushi.core kushi.stylesheet}
:builds
{:app
{:devtools {:log false}
:target :browser
:compiler-options {:output-feature-set :es8}
:modules {:main {:init-fn mpt.browser/init}}
:build-hooks [
;; Add Kushi build hooks
(kushi.core/kushi-debug)
(kushi.stylesheet/create-css-file)
;; This is optional but adds a nice build report for release builds
(shadow.cljs.build-report/hook
{:output-to "tmp/report.html"})]}
:test {:target :browser-test
:test-dir "out/test"}}}