[ReactNative] Add instructions for new react-native bundle

This commit is contained in:
Alex Kotliarskyi
2015-04-21 14:47:40 -07:00
parent ee3986342a
commit 1f1c6af9cd
2 changed files with 9 additions and 6 deletions

View File

@@ -1,5 +1,8 @@
// Offline JS
// To re-generate the offline bundle, run this from root of your project
// $ curl 'http://localhost:8081/Examples/SampleApp/index.ios.bundle?dev=false&minify=true' -o iOS/main.jsbundle
// To re-generate the offline bundle, run this from the root of your project:
//
// $ react-native bundle --minify
//
// See http://facebook.github.io/react-native/docs/runningondevice.html for more details.
throw new Error('Offline JS file is empty. See iOS/main.jsbundle for instructions');