-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshadow-cljs.edn
18 lines (18 loc) · 1010 Bytes
/
shadow-cljs.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{:deps {:aliases [:dev]}
:nrepl {:port 9001}
:builds {:dev {:target :browser
:devtools {:watch-dir "resources/public" ; live reload CSS
:hud #{:errors :progress}
:ignore-warnings true} ; warnings don't prevent hot-reload
:output-dir "resources/public/js"
:asset-path "/js"
:modules {:main {:entries [user]
:init-fn user/start!}}
:build-hooks [(shadow.cljs.build-report/hook {:output-to "target/build_report.html"})
(user/rcf-shadow-hook)]}
:prod {:target :browser
:output-dir "resources/public/js"
:asset-path "/js"
:module-hash-names true
:modules {:main {:entries [user]
:init-fn user/start!}}}}}