-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
39 lines (34 loc) · 2.08 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
30
31
32
33
34
35
36
37
38
39
{:deps {:aliases [:dev]}
:nrepl {:port 9000}
:builds {:main {:target :browser
:output-dir "resources/public/js/main"
:asset-path "/js/main"
:modules {:main {:init-fn app.client/init
:entries [app.client]}}
;; ghostwheel enforcement only during dev
:dev {:compiler-options
{:external-config {:ghostwheel {}}}}
:devtools {:after-load app.client/refresh
:preloads [com.fulcrologic.fulcro.inspect.preload app.development-preload]}}
:test {:target :browser-test
:test-dir "resources/public/js/test"
:ns-regexp "-test$"
;; required for mocking to work
:compiler-options {:static-fns false
:external-config {:ghostwheel {}}}
:devtools {:http-port 8022
: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 "-test$"}
#_#_:workspaces {:target nubank.workspaces.shadow-cljs.target
:ns-regexp "-(test|ws)$"
:output-dir "resources/public/workspaces/js"
:asset-path "/workspaces/js"
:devtools {:preloads [fulcro.inspect.preload]
:http-root "resources/public"
:http-port 8023
:http-resource-root "."}}}}