-
Notifications
You must be signed in to change notification settings - Fork 19
/
shadow-cljs.edn
29 lines (26 loc) · 1.21 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
{:deps {:aliases [:dev :demo]}
:dev-http {8001 "public"
8002 "public/test"
8003 "public/livedoc"}
:nrepl {:port 9000}
:builds {:demo {:compiler-options {:output-feature-set :es8}
:target :browser
:output-dir "public/js"
:asset-path "js"
:modules {:main {:init-fn nextjournal.clojure-mode.demo/render}}}
:livedoc {:compiler-options {:output-feature-set :es8}
:target :browser
:output-dir "public/livedoc/js"
:asset-path "js"
:modules {:main {:init-fn nextjournal.clojure-mode.demo.livedoc/render}}}
:test {:compiler-options {:output-feature-set :es8}
:target :browser-test
:test-dir "public/test"
:ns-regexp "-tests$"}
:ci-test {:target :node-test
:ns-regexp "-tests$"
:output-dir "out"
:output-to "out/node-tests.js"
:compiler-options {:optimizations :simple}
:closure-defines {nextjournal.clojure-mode.util/node-js? true}
:js-options {:output-feature-set :es8}}}}