-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
31 lines (31 loc) · 2.1 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
{:deps {:aliases [:dev]} ; indicate vi use tools-deps; aliases ignored b/c I invoke clj myself
:http {:port 9631} ; shadow control server
:nrepl {:port 9001}
:dev-http {8000 "resources/public"}
:jvm-opts ["-Xmx2G"]
:builds {:main {:target :browser
:output-dir "resources/public/js/main"
:asset-path "/js/main"
:dev {:compiler-options {:external-config {:guardrails {:emit-spec? true :throw? false}}}
:build-hooks
[(teknql.tailwind/start-watch!)]}
:release {:compiler-options {:source-map true}
:build-hooks
[(teknql.tailwind/compile-release!)]}
:modules {:main {:init-fn com.example.client/init}}
:devtools {:after-load com.example.client/refresh
:preloads [shadow.remote.runtime.cljs.browser ; Shadow Inspect tab support
holyjak.fulcro-troubleshooting ; optional, to find mistakes faster
com.fulcrologic.fulcro.inspect.preload
com.fulcrologic.fulcro.inspect.dom-picker-preload]
:http-root "resources/public"} ;; Must be set to infer default purge targets.
:tailwind/output "resources/public/css/main.css"
:after-load com.example.client/refresh}}
#_#_:workspaces {:target nubank.workspaces.shadow-cljs.target
:ns-regexp "-(test|ws)$"
:output-dir "resources/public/workspaces/js"
:asset-path "/workspaces/js"
:devtools {:preloads [com.fulcrologic.fulcro.inspect.preload]
:http-root "resources/public/workspaces"
:http-port 8023
:http-resource-root "."}}}