logseq/shadow-cljs.edn

26 lines
835 B
Plaintext
Raw Normal View History

2019-12-11 00:35:22 +00:00
;; shadow-cljs configuration
2020-03-09 07:51:06 +00:00
{:deps true
2019-12-11 02:48:29 +00:00
:nrepl {:port 8701}
2019-12-11 00:35:22 +00:00
:builds
2019-12-11 02:48:29 +00:00
{:app
{:target :browser
:modules {:main {:init-fn frontend.core/init}}
2020-04-10 10:00:10 +00:00
:output-dir "resources/static/js"
2020-04-09 12:42:52 +00:00
:asset-path "/js"
2020-04-02 07:06:53 +00:00
2020-02-19 03:24:37 +00:00
:compiler-options {:infer-externs :auto
:externs ["datascript/externs.js"]}
2020-04-01 07:10:13 +00:00
;; TODO: purge-css not working properly
;; :build-hooks [(shadow.hooks/purge-css
;; {:css-source "node_modules/tailwindcss/dist/tailwind.min.css"
2020-04-10 10:00:10 +00:00
;; :js-globs ["static/js/*.js"]
;; :public-dir "static/css"})]
2019-12-11 02:48:29 +00:00
: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
2020-04-10 05:39:45 +00:00
:preloads [devtools.preload]}}}}