-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
shadow-cljs.edn
30 lines (30 loc) · 1.32 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
{:deps {:aliases [:cljs]}
:builds
{:squint
{:js-options {;; don't bundle any npm libs
:js-provider :import}
:compiler-options {:infer-externs :auto}
:target :esm
:runtime :browser
:devtools {:enabled false}
:output-dir "lib"
:modules
{:compiler {:exports
{compileString squint.compiler/compile-string
compileStringEx squint.compiler/compileStringEx}}
;; this is necessary to move fs, path to a common node module instead of to compiler
:node {:entries [] :depends-on #{:compiler}}
:compiler.sci {:depends-on #{:compiler :compiler.node :node}
:init-fn squint.compiler.sci/init}
:compiler.node {:depends-on #{:compiler :node}
:exports
{compileFile squint.compiler.node/compile-file-js
compileString squint.compiler.node/compile-string-js}}
:cljs.pprint {:entries [cljs.pprint]
:depends-on #{:compiler}}
:node.nrepl_server {:depends-on #{:compiler.node :cljs.pprint :node}
:exports {startServer squint.repl.nrepl-server/start-server}}
:cli {:depends-on #{:compiler :compiler.node :node}
:init-fn squint.internal.cli/init}}
:build-hooks [(shadow.cljs.build-report/hook
{:output-to "report.html"})]}}}