-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshadow-cljs.edn
20 lines (20 loc) · 1 KB
/
shadow-cljs.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{:source-paths ["src"]
:dependencies [[metosin/malli "0.11.0"]]
:nrepl {:port 8420}
:builds {:app {:output-dir "./cljs-dist/app"
:target :esm
:runtime :browser
:js-options {:js-provider :import}
:devtools {:preloads [dev.preload
malli.dev.cljs-kondo-preload]}
:modules {:app.main {:exports {render app.app/render}}}
:release {:compiler-options {:optimizations :advanced}}}
:server {:output-dir "./cljs-dist/server"
:target :esm
:js-options {:js-provider :import}
:runtime :custom
:devtools {:client-ns server.devtools
:preloads [dev.preload
malli.dev.cljs-kondo-preload]}
:modules {:server.main {:exports {main server.server/main}}}
:release {:compiler-options {:optimizations :advanced}}}}}