-
Notifications
You must be signed in to change notification settings - Fork 1
/
shadow-cljs.edn
20 lines (19 loc) · 1009 Bytes
/
shadow-cljs.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{:deps true
:builds {:calva-lib
{:target :node-library
:exports {:testFunction calva.foo/test-function}
:output-to "out/cljs-lib/cljs-lib.js"}
:extension
{:target :node-library
:js-options {:js-provider :shadow
;; TODO: Test if this is necessary
:keep-native-requires true
;; TODO: Test if this is necessary
:keep-as-require #{"vscode"}}
:compiler-options {:infer-externs :auto}
:exports {:activate calva-cljs.extension/activate
:deactivate calva-cljs.extension/deactivate}
:output-dir "lib/js"
:output-to "lib/main.js"
:devtools {:before-load-async calva-cljs.extension/before-load-async
:after-load calva-cljs.extension/after-load}}}}