[build/ci] added bundleInDebug flag to build.gradle

This commit is contained in:
Salakar 2017-06-22 14:09:50 +01:00
parent dc38c22ac2
commit 1e777f8296
1 changed files with 6 additions and 0 deletions

View File

@ -66,6 +66,12 @@ import com.android.build.OutputFile
* ]
*/
project.ext.react = [
// whether to bundle JS and assets in staging mode
bundleInDebug: true,
jsBundleDirDebug: "$buildDir/intermediates/assets/debug"
]
apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/react-native-vector-icons/fonts.gradle"