-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
22 lines (21 loc) · 1010 Bytes
/
shadow-cljs.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
;; shadow-cljs configuration
{:lein true ;dependencies from lein project.clj
;; :deps true
:builds
{#_ :app #_ {:target :browser
:compiler-options {:infer-externs true
}
:output-dir "resources/public/cljs-out"
:asset-path "/cljs-out" ;webserver path
:modules {:dev-main {:entries [org.parkerici.blockoid.example.core]}}}
:lib {:target :esm
:output-to "target/blockoid.js"
:output-dir "target/blockoid" ;supporting files
:exports-var org.candelbio.blockoid.core/define-workspace ;TODO and others
; :js-options {:js-provider :require}
:entries [org.candelbio.blockoid.core]
;; :exports {:main org.candelbio.blockoid.core/-main}
:compiler-options {:module-type 'commonjs
:infer-externs true} ;turns off some warnings
:modules {:main {:entries [org.candelbio.blockoid.core]}}
}}}