mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
34 lines
903 B
Clojure
34 lines
903 B
Clojure
;; shadow-cljs configuration
|
|
{:source-paths ["src" "dev"]
|
|
|
|
:dependencies
|
|
[[binaryage/devtools "0.9.10"]
|
|
[cider/cider-nrepl "0.23.0-SNAPSHOT"]
|
|
|
|
[rum "0.11.4"]
|
|
[funcool/promesa "4.0.2"]
|
|
[prismatic/dommy "1.1.0"]
|
|
[metosin/reitit "0.3.10"]
|
|
[metosin/reitit-spec "0.3.10"]
|
|
[metosin/reitit-frontend "0.3.10"]]
|
|
|
|
:nrepl {:port 8701}
|
|
|
|
:builds
|
|
{:app
|
|
{:target :browser
|
|
:modules {:main {:init-fn frontend.core/init}}
|
|
|
|
:devtools
|
|
;; before live-reloading any code call this function
|
|
{:before-load frontend.core/stop
|
|
;; after live-reloading finishes call this function
|
|
:after-load frontend.core/start
|
|
;; serve the public directory over http at port 8700
|
|
;:http-root "public"
|
|
;:http-port 8700
|
|
:http-root "public"
|
|
:http-port 3000
|
|
:preloads [devtools.preload]}
|
|
}}}
|