-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshadow-cljs.edn
24 lines (24 loc) · 982 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
{:builds
{:dev {:target :browser
:devtools {:loader-mode :default, :watch-dir "resources/public/chat_app"}
:output-dir "resources/public/chat_app/js"
:asset-path "/js"
:module-loader true
:modules {:main {:entries [dev]
:init-fn dev/start!
;; :depends-on #{:webauthn}
}
;; :webauthn {:entries [chat-app.webauthn]}
}
:build-hooks [(hyperfiddle.electric.shadow-cljs.hooks/reload-clj)]}
:prod {:target :browser
:output-dir "resources/public/chat_app/js"
:asset-path "/js"
:module-loader true
:modules {:main {:entries [prod]
:init-fn prod/start!
;; :depends-on #{:webauthn}
}
;; :webauthn {:entries [chat-app.webauthn]}
}
:module-hash-names true}}}