-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshadow-cljs.edn
32 lines (27 loc) · 941 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
32
{:deps true
:builds
{:test {:target :browser-test
:compiler-options {:infer-externs :auto}
:test-dir "public-test"
:devtools
{:http-root "public-test"
:http-port 8021}}
:ci {:target :karma
:compiler-options {:infer-externs :auto}
:output-to "public-test/ci.js"}
:ssr {:target :node-script
:main reseda.demo.ssr/main
:output-to "out/ssr/main.js"
:devtools {:before-load-async reseda.demo.ssr/stop
:after-load reseda.demo.ssr/start}}
:demo {:target :browser
:output-dir "public/js"
:asset-path "/js"
:compiler-options {:infer-externs :auto}
:modules
{:main ;; <- becomes public/js/main.js
{:entries [reseda.demo]}}
;; start a development http server on http://localhost:8020
:devtools
{:http-root "public"
:http-port 8020}}}}