-
Notifications
You must be signed in to change notification settings - Fork 1
/
shadow-cljs.edn
32 lines (27 loc) · 1.1 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
{:deps {:aliases [:dev :cljs :dev/cljs]}
:http {:port 1234}
;; set an nrepl port for connection to a REPL.
:nrepl {:port 8888}
:builds {:app
{:target :browser
:output-dir "resources/public/js/compiled"
:asset-path "/js/compiled"
:modules {:main
{:entries [examples.core]}}
:devtools
;; before live-reloading any code call this function
{:before-load examples.core/stop
;; after live-reloading finishes call this function
:after-load examples.core/start
;; serve the public directory over http at port 8700
:http-root "resources/public"
:http-port 8700
:preloads [devtools.preload]}
}
:examples
{:target :browser
:output-dir "docs/js/compiled"
:asset-path "/js/compiled"
:modules {:main
{:entries [examples.docs]}}}}}