-
Notifications
You must be signed in to change notification settings - Fork 1
/
shadow-cljs.edn
46 lines (37 loc) · 1.65 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
40
41
42
43
44
45
46
{:deps
{:aliases [:dev :test]}
:dev-http
{8077 "public/hooks-example"
8078 "public/fulcro-example"
8079 "public/reagent-datascript-example"}
:builds
{:test
{:target :browser-test
:test-dir "public/test/js"
:ns-regexp "-test$"
;:ns-regexp "space.matterandvoid.subscriptions.fulcro-eql-fn-vars-test"
:devtools {:http-port 8022
:http-root "public/test/js"}}
: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$"}
:hooks-example
{:target :browser :output-dir "public/hooks-example/js" :asset-path "/js"
;:dev {:compiler-options {:output-feature-set :es6}}
:modules {:hooks-example {:entries [hooks-example] :init-fn hooks-example/init}}}
:fulcro-example
{:target :browser :output-dir "public/fulcro-example/js" :asset-path "/js"
:devtools {:preloads [;; if using the chrome extension:
com.fulcrologic.fulcro.inspect.preload
;; if using the electron app:
;com.fulcrologic.fulcro.inspect.websocket-preload
com.fulcrologic.fulcro.inspect.dom-picker-preload]}
:modules {:fulcro-example {:entries [fulcro-example]
:init-fn fulcro-example/init}}}
:reagent-datascript-example
{:target :browser :output-dir "public/reagent-datascript-example/js" :asset-path "/js"
:modules {:reagent-datascript-example {:entries [reagent-datascript]
:init-fn reagent-datascript/init}}}}}