clj-rn/clj-rn.conf.example.edn

36 lines
1.4 KiB
Clojure
Raw Permalink Normal View History

2018-07-17 03:31:17 +00:00
{: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"
2018-07-26 08:18:46 +00:00
"cemerick.piggieback/wrap-cljs-repl"]}
;; those options will be passed to `react-native run-*`
:run-options {:ios {}
:android {"appIdPrefix" "debug"}
:default {}}}