-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshadow-cljs.edn
28 lines (28 loc) · 1017 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
22
23
24
25
26
27
28
{;; This first entry tells shadow-cljs to pull its dependencies from `deps.edn`,
;; and to merge in the specified aliases when doing so.
:deps {:aliases [:dev]}
:dev-http {8765 "public"}
:builds
{:clerk
{:target :esm
:runtime :browser
:output-dir "public/js"
:js-options {:output-feature-set :es8}
:compiler-options
{:infer-externs :auto
:optimizations :advanced}
:modules
;; Note the keyword `:main`. Your final JS bundle will live at
;; `<output-dir>/main.js`. Change this keyword or the `:output-dir` above to
;; tune this.
{:main
{:entries
;; shadow-cljs will include these namespaces and any namespaces they depend
;; on in your final bundle. The `static-app` entry is required.
;;
;; noc.sci is where all SCI customization happens. If you write any
;; custom CLJS or CLJC, require those namespaces in noc.sci to get
;; them included into the build.
[nextjournal.clerk.sci-env
nextjournal.clerk.trim-image
noc.sci]}}}}}