-
Notifications
You must be signed in to change notification settings - Fork 2
/
shadow-cljs.edn
46 lines (46 loc) · 1.24 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
{
:source-paths ["src" "server"]
:dependencies [
[mvc-works/hsl "0.1.2"]
[cumulo/shallow-diff "0.1.3"]
[mvc-works/shell-page "0.1.10"]
[cirru/editor "0.3.0-a2"]
[respo "0.12.1"]
[respo/ui "0.3.14"]
[cljs-ajax "0.8.0"]
[cumulo/shallow-diff "0.1.3"]
[fipp "0.6.22"]
[cirru/edn "0.0.9-a1"]
[cirru/sepal "0.2.7"]
[mvc-works/polyfill "0.1.1"]
]
:open-file-command [
"subl"
["%s:%s:%s" :file :line :column]
]
:dev-http {7000 "target/"}
:builds {
:client {
:output-dir "target", :target :browser, :asset-path "./"
:compiler-options {:infer-externs :auto}
:modules {
:client {:init-fn app.main/main!}
}
:release {
:output-dir "dist/", :module-hash-names 8
:build-options {:manifest-name "assets.edn"}
}
:devtools {:after-load app.main/reload!}
}
:page {
:target :node-script, :output-to "target/page.js", :main app.page/main!
:devtools {:after-load app.page/main!}
}
:server {
:target :node-script, :main app.server/main!, :output-to "target/server.js"
:compiler-options {:infer-externs :auto}
:release {:output-to "dist/server.js"}
:devtools {:after-load app.server/reload!}
}
}
}