-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathshadow-cljs.edn
25 lines (23 loc) · 1.39 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
{:deps {:aliases [:dev]}
:nrepl false
:jvm-opts ["-Xmx2G"]
:builds {:main {:target :browser
:output-dir "resources/public/js/main"
:asset-path "/js/main"
:dev {:compiler-options {:external-config {:guardrails {:emit-spec? true :throw? false}}}}
:modules {:main {:init-fn com.example.client/init}}
:js-options {:resolve
{
;; for performance checking during dev
;;"react-dom" {:target :npm
;;:require "react-dom/cjs/react-dom.production.min.js"}
;;"react" {:target :npm
;;:require "react/cjs/react.production.min.js"}
;; Make js-joda-timezone a more reasonable build size
"@js-joda/timezone"
{:target :npm
:require "@js-joda/timezone/dist/js-joda-timezone-10-year-range.min.js"}}}
:devtools {
;:preloads [com.fulcrologic.fulcro.inspect.preload]
:preloads [com.fulcrologic.fulcro.inspect.websocket-preload]
:after-load com.example.client/refresh}}}}