[ReactNative] Make it easier to generate offline bundles

This commit is contained in:
Alex Kotliarskyi
2015-03-27 09:46:24 -07:00
parent 3e6c2e80ba
commit edff192c9e
3 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
// 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
throw new Error('Offline JS file is empty. See iOS/main.jsbundle for instructions');