-
Notifications
You must be signed in to change notification settings - Fork 1
/
shadow-cljs.edn
40 lines (37 loc) · 1.26 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
;; shadow-cljs configuration
{:source-paths
["src"]
:dependencies [[org.clojure/core.async "1.5.648"]
[binaryage/devtools "0.9.7"]
[reagent "1.1.1"]
[com.teknql/shadow-cljs-tailwind-jit "0.2.2"]
[lambdaisland/fetch "1.0.41"]]
:builds
{:app {:target :browser
:output-dir "public/js/compiled"
:asset-path "/js/compiled"
:modules
{:main
{:entries [app.core]}}
:dev
{:build-hooks
[(teknql.tailwind/start-watch!)]}
:release
{:build-hooks
[(teknql.tailwind/compile-release!)]}
:devtools
{:before-load app.core/stop
:after-load app.core/start
:http-root "public"
:http-port 8700
:preloads [devtools.preload]}
:tailwind/output "public/css/compiled/style.css"
:tailwind/files
{:base-path "."
:tailwind.css "./public/css/style.css"}}
:functions {:target :node-library
:output-to "functions/api.js"
:exports {:handler functions.api/handler}
:js-options {
:keep-native-requires true
:devtools {:enabled false}}}}}