-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshadow-cljs.edn
37 lines (25 loc) · 1.26 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
33
34
35
36
37
;; shadow-cljs configuration
{:source-paths ["src/main" "src/test"]
:dependencies [[binaryage/devtools "0.9.7"]
[reagent "0.8.0-alpha2"]]
;; set an nrepl port for connection to a REPL.
:nrepl {:port 8777}
:dev-http {8021 "out/test"}
:builds {:test {:target :node-test
:output-to "out/node-tests.js"
:autorun true}
:browser-test {:target :browser-test
:test-dir "out/test"}
:app {:target :browser
:output-dir "public/js/compiled"
:asset-path "/js/compiled"
:modules {:main {:init-fn hello-three.core/init}}
:compiler-options {:infer-externs true}
:devtools {;; before live-reloading any code call this function
:before-load hello-three.core/stop
;; after live-reloading finishes call this function
:after-load hello-three.core/start
;; serve the public directory over http at port 8700
:http-root "public"
:http-port 8700
:preloads [devtools.preload]}}}}