-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathshadow-cljs.edn
42 lines (37 loc) · 1.42 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
;; shadow-cljs configuration
{:source-paths
["src" "test" "examples" "benchmark"]
:nrepl {:port 8777}
:dependencies
[[binaryage/devtools "0.9.7"]
[devcards "0.2.5"]
[reagent "0.8.1"]]
:builds
{:workshop {:target :browser
:output-dir "public/workshop/js"
:asset-path "/js"
:modules {:main {:entries [workshop]}}
:compiler-options {:devcards true}
:devtools {:http-root "public/workshop"
: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}}}}}