-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathshadow-cljs.edn
26 lines (23 loc) · 1.38 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
;; shadow-cljs configuration
{:deps {:aliases [:dev]}
:nrepl {:port 9845}
:dev-http {8000 ["classpath:public"]
8001 ["classpath:public/js/test"]}
:builds {:workspaces {:target nubank.workspaces.shadow-cljs.target
:ns-regexp "(-test|-ws)$"
:output-dir "resources/public/js/workspaces"
:asset-path "/js/workspaces"
:compiler-options {:closure-output-charset "US-ASCII"
:static-fns false
:external-config {:ghostwheel {}}}
:devtools {:preloads [fulcro.inspect.preload]}}
:test {:target :browser-test
:test-dir "resources/public/js/test"
:ns-regexp "test$"
:compiler-options {:static-fns false
:external-config {:ghostwheel {}}}}
:ci {: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$"}}}