-
Notifications
You must be signed in to change notification settings - Fork 3
/
shadow-cljs.edn
47 lines (41 loc) · 1.7 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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{:dev-http {4598 "resources/public/"}
:deps {:aliases [:dev]}
:nrepl {:middleware [cider.piggieback/wrap-cljs-repl
refactor-nrepl.middleware/wrap-refactor]
:port 54872}
:http {:port 3449
:host "0.0.0.0"}
:builds {:ui
{:target :browser
:modules {:main {:init-fn streamtide.ui.core/init}}
:main streamtide.ui.core
:infer-externs true
:output-dir "resources/public/js/"
:js-options {:js-provider :external
:external-index "target/index.js"}
:dev {
:source-map true
:source-map-timestamp true
:devtools {:ignore-warnings true
:preloads [devtools.preload
day8.re-frame-10x.preload]}
:closure-defines {re-frame.trace.trace-enabled? true
day8.re-frame.tracing.trace-enabled? true
goog.DEBUG true}}}
:server
{:target :node-script
:main streamtide.server.core/-main
:output-dir "server/"
:output-to "server/streamtide_server.js"
:prepend "shadow_esm_import = function(x) { return import(x); };"
:dev {:closure-defines {goog.DEBUG true}
:js-options {:keep-as-import #{"d3"}}}
:release {:compiler-options {:optimizations :simple}}}
:server-tests
{:target :node-test
:output-dir "server/tests"
:output-to "server/tests/server-tests.js"
:ns-regexp "tests.*"
:optimizations :none
:autorun false
:closure-defines {goog.DEBUG true}}}}