forked from teesloane/trunk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
43 lines (40 loc) · 1.88 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
;; shadow-cljs configuration
{:source-paths
["src" "test"]
:dependencies
[[reagent "1.1.0"]
[com.teknql/shadow-cljs-tailwind-jit "0.2.2"]
[day8.re-frame/tracing "0.6.2"]
[day8.re-frame/re-frame-10x "1.0.2"]
[day8.re-frame/async-flow-fx "0.3.0"]
[binaryage/devtools "1.0.3"]
[re-frame "1.2.0"]]
:builds
{:main {:target :node-script
:output-to "resources/main.js"
:main app.main.core/main}
:renderer {:target :browser
:output-dir "resources/public/js"
:dev {:build-hooks [(teknql.tailwind/start-watch!)]
:compiler-options {:closure-defines {re-frame.trace.trace-enabled? true
day8.re-frame.tracing.trace-enabled? true}}}
:devtools
{:http-root "resources/public/" ;; Must be set to infer default purge targets.
:watch-dir "resources/public"
:preloads [day8.re-frame-10x.preload]
}
:tailwind/output "resources/public/css/site.css"
:tailwind/files {:base-path "./"
:tailwind.css "./src/tailwind.css"
;; :tailwind.css "resources/public/css/site.css"
}
:tailwind/config {:dark-mode "media"}
:release {; :build-hooks [(teknql.tailwind/compile-release!)] ; can't use this on windows (ci) so have to disable it.
:build-options {:ns-aliases
{day8.re-frame.tracing day8.re-frame.tracing-stubs}}}
:modules {:renderer {:init-fn app.renderer.core/start!}}}
:test {:target :node-test
:output-to "out/node-tests.js"
:autorun true
}
}}