-
Notifications
You must be signed in to change notification settings - Fork 10
/
shadow-cljs.edn
27 lines (26 loc) · 1.14 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 {:aliases [:dev/cljs :dev]}
:jvm-opts ["-Xss3m"]
:builds
{:tesserae {:target :browser
:output-dir "resources/public/js/compiled"
:asset-path "/js/compiled"
:module-hash-names true
:modules {:main {:entries [tesserae.ui.app]
#_#_:init-fn tesserae.ui.app/start}}
:release {:build-options {:cache-level :off}}
:build-hooks [(hyperfiddle.electric.shadow-cljs.hooks/reload-clj)]
:devtools
{
;:before-load yam.ui.app/stop
;; after live-reloading finishes call this function
;:after-load yam.ui.app/start
;; serve the public directory over http at port 8700
;:http-root "public"
;:http-port 8700
:preloads [devtools.preload]
:hud #{:errors :progress}
:ignore-warnings true
:loader-mode :default ; faster reload
}
}}}