Files
tbd/ui/shadow-cljs.edn
ajet 5aaf5a8d6c
CI / Test + coverage (push) Successful in 59s
add webmcp
2026-09-19 13:38:27 -09:00

21 lines
695 B
Clojure

;; The UI compiles straight into the server's resources dir, so the server picks it up from
;; the classpath (see `tbd.core`, which serves `resources/public` at `/js`).
{:source-paths ["src" "test"]
:dependencies
[[reagent "2.0.1"]
[re-frame "1.4.7"]]
:builds
{:app {:target :browser
:output-dir "../resources/public/js"
:asset-path "/js"
:modules {:main {:init-fn tbd.ui.core/init}}
:devtools {:after-load tbd.ui.core/reload}}
;; script/ui-test: the tests run under Node, against fakes of fetch and navigator.modelContext.
:test {:target :node-test
:output-to "target/ui-test/test.js"
:ns-regexp "-test$"
:autorun true}}}