Fork me on GitHub
#cljsrn
<
2018-12-01
>
rith8701:12:11

@vikeri strange. I was able to get my build to work recently after restarting the react-native-git-upgrade from scratch. I had one other minification issue where BackHandler was not in my extern file but it seems to work fine after. I didn't have any issues like https://github.com/drapanjanas/re-natal/issues/203

rith8701:12:56

I am however now facing another issue.. where running with --dev true works but --dev false causes the bundling to freeze

# this works
node --expose-gc --max_old_space_size=4096 ./node_modules/react-native/local-cli/cli.js bundle --verbose --platform android --dev true --reset-cache --entry-file index.js --bundle-output /usr/src/app/android/app/src/main/assets/index.android.bundle --assets-dest /usr/src/app/android/app/src/main/res/

# this freezes
node --expose-gc --max_old_space_size=4096 ./node_modules/react-native/local-cli/cli.js bundle --verbose --platform android --dev false --reset-cache --entry-file index.js --bundle-output /usr/src/app/android/app/src/main/assets/index.android.bundle --assets-dest /usr/src/app/android/app/src/main/res/