generated from fulcrologic/fulcro-native-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
shadow-cljs.edn
31 lines (30 loc) · 1.74 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
{:deps {:aliases [:cljs :dev]}
:nrepl {:port 9000}
:jvm-opts ["-Xmx2G"]
:builds {:web
{:target :browser
:output-dir "resources/public/js/main"
:asset-path "/js/main"
:modules {:main {:init-fn yardwerk.client/init
:entries [yardwerk.client]}}
:dev {:closure-defines {'goog.DEBUG true}
:compiler-options {:external-config {:guardrails {}}}}
:devtools {:after-load yardwerk.client/refresh
:preloads [com.fulcrologic.fulcro.inspect.preload yardwerk.development-preload]}}
:native
{:target :react-native
:init-fn yardwerk.client-native/init
:output-dir "mobile/app"
:dev {:closure-defines {'goog.DEBUG true
yardwerk.client-native/SERVER_URL "http://localhost:3000/api-native"}
:compiler-options {:external-config {:guardrails {}}}}
:release {:compiler-options {:optimizations :simple
:infer-externs :auto
:variable-renaming :off
:property-renaming :off
:pretty-print true
:source-map true}}
:js-options {:node-modules-dir "mobile/node_modules"}
:devtools {:autoload true
:after-load yardwerk.client-native/start
:preloads [shadow.expo.keep-awake yardwerk.inspect-native-preload]}}}}