mirror of
https://github.com/logseq/logseq.git
synced 2026-04-24 22:25:01 +00:00
34 lines
921 B
Clojure
34 lines
921 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"]
|
|
[datascript "0.18.9"]
|
|
[funcool/promesa "4.0.2"]
|
|
[medley "1.2.0"]]
|
|
|
|
:nrepl {:port 8701}
|
|
|
|
:builds
|
|
{:app
|
|
{:target :browser
|
|
:modules {:main {:init-fn frontend.core/init}}
|
|
|
|
:compiler-options {:infer-externs :auto
|
|
:externs ["datascript/externs.js"]}
|
|
: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]}
|
|
}}}
|