-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshadow-cljs.edn
23 lines (22 loc) · 930 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
{:source-paths ["src"]
:dependencies [[proto-repl "0.3.1"]]
:nrepl {:port 3333}
:builds
{:app {:target :browser
:output-dir "public/js"
:asset-path "js"
:modules {:main {:entries [app.core]}}
:devtools {:before-load app.core/stop
:after-load app.core/start
:http-root "public"
:http-port 8020}}
:lib {:target :node-library
:output-dir "public/lib"
:output-to "public/lib/library.js"
:compiler-options {:pretty-print true}
:exports {:hello lib.core/hello}}}}
; :exports lib.core/hello}}} ;; single export format
; :modules {:main {:entries [lib.core]}}}}}
; :devtools {:before-load lib.core/stop
; :after-load lib.core/start}}}}}
; see command line commands: https://shadow-cljs.github.io/docs/UsersGuide.html#_command_line