-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshadow-cljs.edn
More file actions
28 lines (24 loc) · 814 Bytes
/
shadow-cljs.edn
File metadata and controls
28 lines (24 loc) · 814 Bytes
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
;; shadow-cljs configuration
{:source-paths
["src" "app"]
:dependencies [[binaryage/devtools "0.9.7"]
[reagent "0.8.0"]
[cider/cider-nrepl "0.16.0-SNAPSHOT"]
[funcool/promesa "1.9.0"]]
:builds
{:app {:target :browser
:output-dir "public/js/compiled"
:asset-path "/js/compiled"
:modules
{:main
{:entries [context.core]}}
:devtools
;; before live-reloading any code call this function
{:before-load context.core/stop
;; after live-reloading finishes call this function
:after-load context.core/start
;; serve the public directory over http at port 8700
:http-root "public"
:http-port 8700
:preloads [devtools.preload]}
}}}