-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
shadow-cljs.edn
68 lines (53 loc) · 2.61 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
{:deps {:aliases [:dev]}
:build-defaults {:build-hooks [(shadow-git-inject.core/hook)]}
:dev-http {8080 "resources/public"
8081 "target/browser-test"
8082 ["portfolio/resources/public"
"resources/public/css"
"resources/public/"
"classpath:public"]}
:builds
{:main {:target :node-script
:output-to "resources/main.js"
:main electron.main/init!}
:preload {:target :node-script
:output-to "resources/preload.js"
:main electron.preload/init!
:hashbang false}
:renderer {:target :browser
:output-dir "resources/public/js"
:compiler-options {:optimizations :simple
:silence-optimizations-warning true
:output-wrapper false
:output-feature-set :es-next
:pseudo-names true
:pretty-print true
:closure-defines {config/version :shadow-git-inject/version}}
:dev {:compiler-options {:closure-defines {re-frame.trace.trace-enabled? true
day8.re-frame.tracing.trace-enabled? true}}
:devtools {:preloads [devtools.preload
day8.re-frame-10x.preload.react-18
dev]}}
:release {:build-options {:ns-aliases {day8.re-frame.tracing
day8.re-frame.tracing-stubs}}}
:modules {:shared {:entries [shadow.cljs.bootstrap.env]}
:renderer {:entries [renderer.core]
:depends-on #{:shared}
:init-fn renderer.core/init!}
:worker {:init-fn worker.core/init!
:web-worker true
:depends-on #{:shared}}}}
:bootstrap {:target :bootstrap
:output-dir "resources/public/js/bootstrap"
:exclude #{cljs.js}
:entries [cljs.js user]}
:browser-test {:target :browser-test
:ns-regexp "-test$"
:runner-ns shadow.test.browser
:test-dir "target/browser-test"}
:karma-test {:target :karma
:ns-regexp "-test$"
:output-to "target/karma-test.js"}
:portfolio {:target :browser
:modules {:scenes {:init-fn portfolio/init!}}
:output-dir "portfolio/resources/public/js"}}}