-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
27 lines (25 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
;; shadow-cljs configuration
{:deps true
:builds {:server {:target :node-script
:output-to "target/private/js/server.js"
:modules {:server {:entries [lapidary.server]}}
:main lapidary.server/start!
:compiler-options {:optimizations :simple}
:devtools {:devtools-url "https://cljs-dev.industrial.gt0.ca/shadow-cljs"
:before-load lapidary.server/stop!
:after-load lapidary.server/start!}}
:server-test {:target :node-test
:output-to "target/private/js/server-test.js"
:modules {:server-test {:entries [lapidary.server-test]}}
:autorun true}
:client {:target :browser
:output-dir "resources/public/js"
:asset-path "/js"
:modules {:app {:entries [lapidary.client]}}
:main lapidary.client/start!
:devtools {:devtools-url "https://cljs-dev.industrial.gt0.ca/shadow-cljs"
:watch-dir "resources/public"
:before-load lapidary.client/stop!
:after-load lapidary.client/restart!}}}
:http {:port 9650
:host "0.0.0.0"}}