Created
August 10, 2020 22:27
-
-
Save GantMan/b99679d6257ab4ea2ac2453bda1c84b9 to your computer and use it in GitHub Desktop.
create React Native bundles from yarn command
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generate your Android production bundle (just code no assets) | |
$ yarn react-native bundle --platform android --dev false --entry-file index.js --bundle-output ./index.android.bundle | |
# Generate your iOS production bundle (just code no assets) | |
$ yarn react-native bundle --platform ios --dev false --entry-file index.js --bundle-output ./index.ios.bundle |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment