This commit is contained in:
Michiel Borkent 2023-05-01 22:07:20 +02:00
parent b9ff6eb8c1
commit 8d3f0f51f4
3 changed files with 14 additions and 14 deletions

7
bb.edn
View file

@ -18,8 +18,7 @@
(fs/delete-tree ".shadow-cljs"))}
shadow:watch {:doc "Development build. Starts webserver and watches for changes."
:task (clojure {:extra-env {"SCI_ELIDE_VARS" "true"}}
"-M:dev -m shadow.cljs.devtools.cli watch main")}
:task (build/build *command-line-args* {:action "watch"})}
http-server {:doc "Starts http server for serving static files"
:requires ([babashka.http-server :as http])
@ -37,9 +36,7 @@
(deref (promise)))}
prod {:doc "Builds production artifacts."
:task (build/release *command-line-args* #_{:wrap-cmd-fn nil #_wrap-cmd})
#_(clojure {:extra-env {"SCI_ELIDE_VARS" "true"}}
"-M:dev -m shadow.cljs.devtools.cli release main")}
:task (build/build *command-line-args*)}
dist {:doc "Prepare dist folder for npm package"
:depends [prod]