What's the difference between "react-native bundle" and "react-native unbundle"? -


what purpose of "unbundle"?

i find 2 different options create react native offline bundle. there not description option.

bundle [options] builds javascript bundle offline use

unbundle [options] builds javascript "unbundle" offline use

i create react-native bundle using "react-native bundle" command like:

react-native bundle --platform ios --dev false --entry-file index.ios.js --bundle-output ios/main.jsbundle 

even if create bundle using command below, can run same previous one:

react-native unbundle --platform ios --dev false --entry-file index.ios.js --bundle-output ios/main.jsbundle 

size of output file same, contents of ouptut file different. thought 'unbundle' option create multiple separated bundles share common part of bundle.

does know 'unbundle' is?

android unbundle means create separated files. ios unbundle means create big file contains mapping table , codes. slow ios load multiple small files.


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -