-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
19 lines (19 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
{:deps {:aliases [:cljs]}
:nrepl {:port 9000}
:builds {:main {:target :browser
:output-dir "resources/public/js/main"
:asset-path "/js/main"
:modules {:main {:init-fn com.example.client/init}}
;; Comment out the next line to enable inspect, but it will hurt performance
:compiler-options {:closure-defines {goog.DEBUG false}}
:js-options {:ignore-asset-requires true
:resolve {"react-dom" {:target :npm
:require "react-dom/cjs/react-dom.production.min.js"}
"react" {:target :npm
:require "react/cjs/react.production.min.js"}}}
:devtools {:preloads [com.fulcrologic.fulcro.inspect.preload
com.fulcrologic.fulcro.inspect.dom-picker-preload]
:http-port 8080
:http-resource-root "public"
:http-root "resources/public"
:after-load com.example.client/refresh}}}}