RN 0.35.0, lein-cljsbuild 1.1.4
This commit is contained in:
parent
3a41150f0c
commit
40d3de4eeb
|
@ -30,7 +30,7 @@ ipAddressRx = /^(?:[0-9]{1,3}\.){3}[0-9]{1,3}$/i
|
|||
figwheelUrlRx = /ws:\/\/[0-9a-zA-Z\.]*:/g
|
||||
appDelegateRx = /http:\/\/[^:]+/g
|
||||
debugHostRx = /host\s+=\s+@".*";/g
|
||||
rnVersion = '0.34.0'
|
||||
rnVersion = '0.35.0'
|
||||
rnPackagerPort = 8081
|
||||
process.title = 're-natal'
|
||||
interfaceConf =
|
||||
|
|
|
@ -6,24 +6,23 @@
|
|||
:dependencies [[org.clojure/clojure "1.9.0-alpha10"]
|
||||
[org.clojure/clojurescript "1.9.198"]
|
||||
$INTERFACE_DEPS$]
|
||||
:plugins [[lein-cljsbuild "1.1.1"]
|
||||
:plugins [[lein-cljsbuild "1.1.4"]
|
||||
[lein-figwheel "0.5.0-6"]]
|
||||
:clean-targets ["target/" "index.ios.js" "index.android.js"]
|
||||
:aliases {"prod-build" ^{:doc "Recompile code with prod profile."}
|
||||
["do" "clean"
|
||||
["with-profile" "prod" "cljsbuild" "once" "ios"]
|
||||
["with-profile" "prod" "cljsbuild" "once" "android"]]}
|
||||
["with-profile" "prod" "cljsbuild" "once" ]]}
|
||||
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.0-6"]
|
||||
[com.cemerick/piggieback "0.2.1"]]
|
||||
:source-paths ["src" "env/dev"]
|
||||
:cljsbuild {:builds [{:id :ios
|
||||
:cljsbuild {:builds [{:id "ios"
|
||||
:source-paths ["src" "env/dev"]
|
||||
:figwheel true
|
||||
:compiler {:output-to "target/ios/not-used.js"
|
||||
:main "env.ios.main"
|
||||
:output-dir "target/ios"
|
||||
:optimizations :none}}
|
||||
{:id :android
|
||||
{:id "android"
|
||||
:source-paths ["src" "env/dev"]
|
||||
:figwheel true
|
||||
:compiler {:output-to "target/android/not-used.js"
|
||||
|
@ -31,7 +30,7 @@
|
|||
:output-dir "target/android"
|
||||
:optimizations :none}}]}
|
||||
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}}
|
||||
:prod {:cljsbuild {:builds [{:id :ios
|
||||
:prod {:cljsbuild {:builds [{:id "ios"
|
||||
:source-paths ["src" "env/prod"]
|
||||
:compiler {:output-to "index.ios.js"
|
||||
:main "env.ios.main"
|
||||
|
@ -40,7 +39,7 @@
|
|||
:optimize-constants true
|
||||
:optimizations :simple
|
||||
:closure-defines {"goog.DEBUG" false}}}
|
||||
{:id :android
|
||||
{:id "android"
|
||||
:source-paths ["src" "env/prod"]
|
||||
:compiler {:output-to "index.android.js"
|
||||
:main "env.android.main"
|
||||
|
|
Loading…
Reference in New Issue