-
Notifications
You must be signed in to change notification settings - Fork 10
/
shadow-cljs.edn
36 lines (36 loc) · 1.54 KB
/
shadow-cljs.edn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
;; shadow-cljs configuration
{:deps {:aliases [:dev]}
:dev-http {3000 "public"}
:nrepl {:port 3333}
:builds
{:dev {:target :browser
:output-dir "public/js"
:asset-path "/js"
:compiler-options {:devcards :true
:externs ["datascript/externs.js"]
:output-feature-set :es6}
:modules {:main {:init-fn homebase.dev.example.core/init}}
:js-options {:resolve {"devcards-marked" {:target :npm :require "marked"}
"devcards-syntax-highlighter" {:target :npm :require "highlight.js"}}}}
:test {:target :node-test
:output-to "out/node-tests.js"
:ns-regexp "-test$"
:autorun false}
:test-autorun {:target :node-test
:output-to "out/node-tests.js"
:ns-regexp "-test$"
:autorun true}
:npm {:target :node-library
:output-to "dist/js/homebase.react.js"
:output-dir "dist/js"
:exports {:HomebaseProvider homebase.react/HomebaseProvider
:useClient homebase.react/useClient
:useTransact homebase.react/useTransact
:useEntity homebase.react/useEntity
:useQuery homebase.react/useQuery}
:compiler-options {:optimizations :advanced
:externs ["datascript/externs.js"]
:pseudo-names false
:pretty-print false
:output-wrapper false
:source-map false}}}}