-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathshadow-cljs.edn
41 lines (40 loc) · 1.96 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
;; shadow-cljs configuration
{:deps true
:builds
{:dev {:target :node-script
:output-to "target/dev.js"
:main sharetribe.flex-cli.core/main-dev
:compiler-options {:warnings
{;; loom causes invalid-arithmetic warning
;; it's unlikely that this would happen in
;; our own code, so let's just disable it.
:invalid-arithmetic false
}}
:devtools {:autoload true}}
:min {:target :node-script
:output-to "target/min.js"
:compiler-options {:warnings
{;; loom causes invalid-arithmetic warning
;; it's unlikely that this would happen in
;; our own code, so let's just disable it.
:invalid-arithmetic false}
:infer-externs :auto
:warnings-as-errors true}
:main sharetribe.flex-cli.core/main}
:test-once {:target :node-test
:compiler-options {:warnings
{;; loom causes invalid-arithmetic warning
;; it's unlikely that this would happen in
;; our own code, so let's just disable it.
:invalid-arithmetic false
}}
:output-to "target/test-once.js"}
:test-autorun {:target :node-test
:compiler-options {:warnings
{;; loom causes invalid-arithmetic warning
;; it's unlikely that this would happen in
;; our own code, so let's just disable it.
:invalid-arithmetic false
}}
:output-to "target/test-autorun.js"
:autorun true}}}