react-native bundle

Builds the javascript bundle for offline use


--entry-file <file>Path to the root JS file, either absolute or relative to JS root
--platform <platform>Either "ios" or "android" (default: "ios")
--transformer <transformer>Specify a custom transformer to be used
--dev [boolean]If false, warnings are disabled and the bundle is minified (default: true)
--minify [boolean]Allows overriding whether bundle is minified. This defaults to false if dev is true, and true if dev is false. Disabling minification can be useful for speeding up production builds for testing purposes
--bundle-output <bundle file>File name where to store the resulting bundle, ex. /tmp/groups.bundle
--bundle-encoding <encoding>Encoding the bundle should be written in ( (default: "utf8")
--max-workers <Number of workers>Specifies the maximum number of workers the worker-pool will spawn for transforming files. This defaults to the number of the cores available on your machine
--sourcemap-output <sourcemap-output>File name where to store the sourcemap file for resulting bundle, ex. /tmp/
--sourcemap-sources-root <root>Path to make sourcemap's sources entries relative to, ex. /root/dir
--sourcemap-use-absolute-pathReport SourceMapURL using its full path
--assets-dest <directory>Directory name where to store assets referenced in the bundle
--unstable-transform-profile <transform-profile>Experimental, transform JS for a specific JS engine. Currently supported: hermes, hermes-canary, default
--reset-cacheRemoves cached files
--read-global-cacheTry to fetch transformed JS code from the global cache, if configured
--config <string>Path to the CLI configuration file
-h, --helpOutput usage information