forked from lilactown/helix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshadow-cljs.edn
49 lines (43 loc) · 1.63 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
38
39
40
41
42
43
44
45
46
47
48
49
;; shadow-cljs configuration
{:source-paths
["src" "test" "dev" "benchmark"]
:nrepl {:port 8777}
:dependencies
[[binaryage/devtools "0.9.7"]
[devcards "0.2.5"]
[ilk "1.0.0"]
[cljs-bean "1.5.0"]]
:builds
{:dev {:target :browser
:output-dir "public/dev/js"
:asset-path "/js"
:modules {:shared {}
:main {:entries [workshop]
:depends-on #{:shared}}
:refresh {:entries [refresh-example]
:depends-on #{:shared}}}
:compiler-options {:devcards true}
:devtools {:http-root "public/dev"
:http-port 8700
:preloads [devtools.preload]}}
;; :test {:target :browser-test
;; :test-dir "public/test/js"
;; :ns-regexp "-test$"
;; :devtools {:http-port 8021
;; :http-root "public/test/js"}}
;; :ci {:target :karma
;; :output-to "target/ci.js"
;; :ns-regexp "-test$"}
;; :benchmark {:target :node-script
;; :main hx.benchmark/main
;; :output-to "target/benchmark/index.js"
;; :devtools {;; :enabled false
;; :after-load hx.benchmark/main
;; }}
;; :benchmark-browser {:target :browser
;; :output-dir "public/benchmark/js"
;; :asset-path "/js"
;; :modules {:main {:entries [hx.benchmark]}}
;; :devtools {:http-root "public/benchmark"
;; :http-port 8800}}
}}}