-
Notifications
You must be signed in to change notification settings - Fork 7
/
shadow-cljs.edn
142 lines (120 loc) · 3.51 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
;; shadow-cljs configuration
{:source-paths
["src/dev"
"src/main"
"src/test"
"src/gen"
;; for easier testing with the example app
"../grove-todo/src/main"
"../shadow-css/src/main"]
:version
"2.27.4"
:jvm-opts
["-XX:-OmitStackTraceInFastThrow"]
:dependencies
;; for benchmark purposes, not actually a dependency
[[reagent "0.9.0-rc3"]
[com.thheller/shadow-css "0.4.5"]]
:dev-http
{3005 "public"
3006 "../grove-todo/public"
3008 "examples/suspense"
3009 "examples/bench-fragment"
3010 "out/browser-test"
3011 "examples/app/public"
3013 "examples/ui"
3014 "examples/dummy"
3015 "examples/flex"
3016 "examples/replicant"}
:build-defaults
{:compiler-options
{:fn-invoke-direct true
:shadow-tweaks true
:shadow-keywords true}}
:builds
{:ui ;; FIXME: should at some point has some kind of workspaces like UI
{:target :browser
:output-dir "examples/ui/js"
:modules {:main {:init-fn dummy.ui/init}}}
:devtools
{:target :esm
:output-dir "src/ui-release/shadow/grove/devtools/dist/js"
:dev {:output-dir "src/gen/shadow/grove/devtools/dist/js"}
:compiler-options {:source-map true}
:devtools {:watch-dir "src/ui-release"
:watch-path "/classpath"}
:modules {:main {:init-fn shadow.grove.devtools/init}}}
:dummy
{:target :browser
:output-dir "examples/dummy/js"
:asset-path "/js"
:modules {:main {:init-fn dummy.app/init}}}
:flex
{:target :browser
:output-dir "examples/flex/js"
:asset-path "/js"
:modules {:main {:init-fn dummy.flex/init}}}
:examples-bootstrap
{:target :bootstrap
:output-dir "examples/app/public/bootstrap"
:exclude #{cljs.js}
:entries [shadow.css
shadow.grove
shadow.grove.runtime
shadow.grove.db
shadow.grove.eql-query
shadow.grove.events
shadow.grove.event-fsm
shadow.grove.keyboard
shadow.grove.local
shadow.grove.css-fx
shadow.arborist.interpreted
;; shadow.grove.ui.testing
]
:compiler-options {:output-feature-set :es-next}
:macros []}
:examples-host
{:target :browser
:asset-path "js"
:output-dir "examples/app/public/js"
:modules {:main {:init-fn shadow.grove.examples.app/init}}
:compiler-options
{:optimizations :simple
:output-wrapper false
:output-feature-set :es-next}
:js-options
{:js-package-dirs ["packages/examples/node_modules"]}}
:test-dom
{:target :browser
:modules {:main {:init-fn shadow.grove.test-app.dom/init}}}
:test
{:target :browser-test
:test-dir "out/browser-test"
:compiler-options {:output-feature-set :es-next}}
:todo
{:target :browser
:output-dir "../grove-todo/public/js"
:modules {:main {:init-fn todo.ui/init
:preloads [shadow.grove.dev-support]}}}
:suspense
{:target :browser
:output-dir "examples/suspense/js"
:modules {:main {:init-fn dummy.suspense/init
:preloads [shadow.grove.dev-support]}}}
:bench-db
{:target :node-script
:output-to "out/bench-db.js"
:main shadow.grove.bench-db/main
:devtools {:enabled false}}
:bench-fragment
{:target :node-script
:compiler-options {:optimizations :simple}
:output-to "out/bench-fragment.js"
:main shadow.grove.bench-fragment/main
:devtools {:enabled false}}
:bench-fragment-browser
{:target :browser
:output-dir "examples/bench-fragment/js"
:modules {:main {:init-fn shadow.grove.bench-fragment/init}}
:devtools {:enabled false}}
}}