-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathclj-rn.conf.example.edn
35 lines (29 loc) · 1.42 KB
/
clj-rn.conf.example.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
{:name "CljRnExample"
;; dev builds from project.clj
:builds [{:id :ios
:source-paths ["src" "env/dev"]
:figwheel true
:compiler {:output-to "target/ios/app.js"
:main "env.ios.main"
:output-dir "target/ios"
:optimizations :none}}
{:id :android
:source-paths ["src" "env/dev"]
:figwheel true
:compiler {:output-to "target/android/app.js"
:main "env.android.main"
:output-dir "target/android"
:optimizations :none}}]
:js-modules ["realm"]
:resource-dirs ["images"]
;; Don't set it if you don't have this file in your repo
:figwheel-bridge "figwheel-bridge.js"
;; All options https://github.com/bhauman/lein-figwheel/blob/0f62d6d043abb6156393fd167f6c1496c5439689/sidecar/resources/conf-fig-docs/FigwheelOptions.txt
:figwheel-options {:nrepl-port 7888
:nrepl-middleware ["cider.nrepl/cider-middleware"
"refactor-nrepl.middleware/wrap-refactor"
"cemerick.piggieback/wrap-cljs-repl"]}
;; those options will be passed to `react-native run-*`
:run-options {:ios {}
:android {"appIdPrefix" "debug"}
:default {}}}