Files
Mardika/shadow-cljs.edn
Thomas Heller be07d4f56a basic example
2017-10-24 10:09:05 +02:00

26 lines
626 B
Clojure

;; shadow-cljs configuration
{:source-paths
["src"]
:dependencies
[]
:builds
{:app {:target :browser
:output-dir "public/js"
:asset-path "/js"
:modules
{:main ;; <- becomes public/js/main.js
{:entries [starter.browser]}}
:devtools
;; before live-reloading any code call this function
{:before-load starter.browser/stop
;; after live-reloading finishes call this function
:after-load starter.browser/start
;; serve the public directory over http at port 8020
:http-root "public"
:http-port 8020}
}}}