-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshadow-cljs.edn
36 lines (31 loc) · 1.38 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
{:dependencies
[]
:source-paths ["src"]
:builds
{:extension
{;; The :target :node-library emits code that can be used (via require) as a standard node library,
;; and is useful for publishing your code for re-use as a compiled Javascript artifact.
;;
;; See https://shadow-cljs.github.io/docs/UsersGuide.html#target-node-library
:target :node-library
:js-options
{;; Resolves the JS via node_modules and includes a minified version
;; of each referenced file in the build.
;; It is the default for the :browser target.
;; node_modules sources do not go through :advanced compilation.
;;
;; See https://shadow-cljs.github.io/docs/UsersGuide.html#js-provider
:js-provider :shadow
:keep-native-requires true
:keep-as-require #{"vscode"}}
;; To help deal with Externs the shadow-cljs compiler provides enhanced externs inference
;; which can be enabled by setting :infer-externs :auto for your build.
;;
;; With :auto the compiler will perform additional checks at compile time for your files only.
;; It won’t warn you about possible externs issues in library code.
;;
;; See https://shadow-cljs.github.io/docs/UsersGuide.html#infer-externs
:compiler-options {:infer-externs :auto}
:exports {:activate nightincode.extension/activate
:deactivate nightincode.extension/deactivate}
:output-to "extension.js"}}}