update README about lein advanced-build

This commit is contained in:
Artur Girenko 2017-07-16 13:22:31 +02:00
parent 14a120ec90
commit 7a04012acd
1 changed files with 8 additions and 1 deletions

View File

@ -19,7 +19,7 @@ For more ClojureScript React Native resources visit [cljsrn.org](http://cljsrn.o
Contributions are very welcome. Contributions are very welcome.
## Status ## Status
- Uses [React Native] v0.46.1 - Uses [React Native] v0.46.3
- Reusable codebase between iOS and Android - Reusable codebase between iOS and Android
- Figwheel used for REPL and live coding - Figwheel used for REPL and live coding
- Works in iOS (real device and simulator) - Works in iOS (real device and simulator)
@ -299,6 +299,13 @@ $ lein prod-build
``` ```
Follow the [React Native documentation](https://facebook.github.io/react-native/docs/signed-apk-android.html) to proceed with the release. Follow the [React Native documentation](https://facebook.github.io/react-native/docs/signed-apk-android.html) to proceed with the release.
#### Advanced CLJS compilation
```
$ lein advanced-build
```
The ReactNative externs are provided by [react-native-externs](https://github.com/mfikes/react-native-externs)
Other library externs needs to be added manually to advanced profile in project.clj
## Static Images ## Static Images
Since version 0.14 React Native supports a [unified way of referencing static images](https://facebook.github.io/react-native/docs/images.html) Since version 0.14 React Native supports a [unified way of referencing static images](https://facebook.github.io/react-native/docs/images.html)