-
Notifications
You must be signed in to change notification settings - Fork 1
/
shadow-cljs.edn
31 lines (25 loc) · 923 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
;; shadow-cljs configuration
{:source-paths
["src/cljs"]
:dependencies [[binaryage/devtools "0.9.7"]
[reagent "0.8.1" :exclusions [cljsjs/react
cljsjs/react-dom]]
[cljs-http "0.1.46"]
[org.clojure/core.async "0.4.500"]
[cider/cider-nrepl "0.21.1"]]
;; set an nrepl port for connection to a REPL.
:nrepl {:port 8777}
:builds
{:app {:target :browser
:output-dir "public/js/compiled"
:asset-path "/js/compiled"
:modules
{:main
{:entries [todomvc-db-view.mount]}}
:devtools
;; before live-reloading any code call this function
{:before-load todomvc-db-view.mount/stop
;; after live-reloading finishes call this function
:after-load todomvc-db-view.mount/start
:preloads [devtools.preload]}
}}}