-
Notifications
You must be signed in to change notification settings - Fork 1
/
shadow-cljs.edn
33 lines (29 loc) · 1.14 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
;; shadow-cljs configuration
{
:lein {:profile "dev"}
:dependencies
[]
:builds
{:app {:target :browser
:output-dir "examples/js/compiled"
:asset-path "/js/compiled"
:modules
{:main
{:entries [example]}}
:compiler-options {:optimizations :simple}
:devtools
;; before live-reloading any code call this function
{:before-load example/stop
;; after live-reloading finishes call this function
:after-load example/start
;; serve the public directory over http at port 8700
:http-root "examples"
:http-port 8700
:preloads [devtools.preload]}
}
:test {:target :browser-test
:test-dir "test/public/js/test"
:devtools {:http-port 8701
:http-root "test/public/js/test"}}
}
}