forked from djblue/portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
32 lines (30 loc) · 861 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 {:aliases [:cljs]}
;:nrepl {:middleware [portal.nrepl/wrap-portal]}
:builds
{:client
{:output-dir "target/resources/portal/"
:asset-path "."
:target :browser
:compiler-options
{:infer-externs true
:warnings-as-errors true}
:modules {:main {:init-fn portal.ui.core/main!}}
:release {:output-dir "resources/portal/"}
:devtools {:after-load portal.ui.core/reload!
:preloads [cljs.user]}}
:demo
{:output-dir "target/demo/"
:asset-path "."
:target :browser
:compiler-options
{:infer-externs true
:warnings-as-errors true}
:modules {:main {:init-fn examples.demo/main!}}
:devtools {:after-load examples.demo/reload!}}
:node
{:target :node-script
:main portal.main/-main
:output-to "target/node.js"
:compiler-options
{:infer-externs true
:warnings-as-errors true}}}}