-
Notifications
You must be signed in to change notification settings - Fork 25
/
shadow-cljs.edn
32 lines (29 loc) · 1.11 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
{:deps {:aliases [:cljs]}
:dev-http {8021 "out/browser-tests"}
:builds
{:app
{:target :browser
:output-dir "public/js"
:modules {:main {:entries [konserve.core]}}}
:node-tests ; shadow-cljs release node-tests && node out/node-tests.js
{:target :node-test
:output-to "out/node-tests.js"
:ns-regexp "^(?!konserve.indexeddb-test)"
:compiler-options {:infer-externs true
:externs ["cljs_node_io/externs.js"]
:closure-warnings {:useless-code :off}}}
:browser-tests
; shadow-cljs watch :browser-tests
; http://localhost:8021/
{:target :browser-test
:test-dir "out/browser-tests"
:ns-regexp "^(?!konserve.node-filestore-test|konserve.node-filestore)"
:compiler-options {:infer-externs true
:closure-warnings {:useless-code :off}}}
:ci
{:target :karma
:output-to "target/ci.js"
:ns-regexp "^(?!konserve.node-filestore-test|konserve.node-filestore)"
:compiler-options {:infer-externs true
:compiler-options {:optimizations :advanced}
:closure-warnings {:useless-code :off}}}}}