Moles-packer
Moles-packer was developed by the Ctrip Framework team with the React Native packaging and unpacking tools that are used in conjunction with the Ctrip moles framework, while supporting native React Native projects.
GitHub Address
NPM Address
Installation
#Install from NPM warehouse.
npm install -g moles-packer
Get help information
--help
Use
#Execute the command in the root directory of the react native project
moles-packer --input /path/to/project --entry index.ios.js --output /path/to/build --bundle bu.bundle --common true
#Parameter Description:
#Input: project directory (default is current directory)
#Entry: entry file name (default is index. JS)
#Output: output directory (default is. / build directory)
#Bundle: the default output file name has the same name as the entry file, or you can specify a file name
#Common: whether to print common package (default is false)
Welcome to join us
Moles-packer introduction of React Native Bundle unpacking Tool