-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
24 lines (21 loc) · 979 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
{:dev-http {8080 ["resources/public" "classpath:public"]}
:deps {:aliases [:development :shadow-cljs :gh-pages]}
:builds
{:components
{:target :browser
:output-dir "resources/public/assets/js"
:asset-path "/assets/js"
:build-hooks [(stylo.shadow/reload "resources/public/assets/css/stylo.css")]
:compiler-options {:warnings {:fn-deprecated false}}
:dev {:modules {:main {:init-fn ui.core/main}}}
:devtools {:preloads [re-frisk.preload]}
:release {:modules {:main {:init-fn ui.core/main}}}}
:gh-pages
{:target :browser
:output-dir "_site/assets/js"
:asset-path "/assets/js"
:closure-defines {ui.index/GH-PAGES true
suitkin.utils/GH-PAGES true}
:build-hooks [(stylo.shadow/reload "_site/assets/css/stylo.css")
(ui.build/export)]
:release {:modules {:main {:init-fn ui.core/main}}}}}}