-
Notifications
You must be signed in to change notification settings - Fork 7
/
shadow-cljs.edn
30 lines (27 loc) · 1.83 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
28
29
{:deps {:aliases [:dev :test]}
:nrepl {:port 9000}
:dev-http {9001 "resources/public"}
:jvm-opts ["-Xmx2G" #_"-Dghostwheel.enabled=true"]
:builds {:todomvc {:target :browser
:output-dir "resources/public/js/todomvc"
:asset-path "/js/todomvc"
:dev {:compiler-options {:external-config {:ghostwheel {}}}}
:modules {:main {:entries [fulcro-todomvc.main]}}
:devtools {:preloads [com.fulcrologic.fulcro.inspect.websocket-preload]}}
:test {:target :browser-test
:test-dir "resources/public/js/test"
:ns-regexp "-spec$"
:dev {:compiler-options {:external-config {:ghostwheel {}}}}
:compiler-options {:static-fns false} ; required for mocking to work
:js-options {: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 {:http-port 9002
:http-resource-root "public"
:http-root "resources/public/js/test"}}
:ci-tests {:target :karma
:js-options {:js-provider :shadow}
:compiler-options {:static-fns false} ; required for mocking to work
:output-to "target/ci.js"
:ns-regexp "-spec$"}}}