--entry-file <path> | Set the path to the root JavaScript entry file. |
--platform <string> | Set the target platform (either "android" or "ios" ). Defaults to "ios" . |
--transformer <string> | Specify a custom transformer. |
--dev [boolean] | If false , warnings are disabled and the bundle is minified. Defaults to true . |
--minify [boolean] | Allows overriding whether bundle is minified. Defaults to false if --dev is set. Disabling minification can be useful for speeding up production builds for testing purposes. |
--bundle-output <string> | Specify the path to store the resulting bundle. |
--bundle-encoding <string> | Specify the encoding for writing the bundle (https://nodejs.org/api/buffer.html#buffer_buffer). |
--resolver-option <string...> | Custom resolver options of the form key=value. URL-encoded. May be specified multiple times. |
--sourcemap-output <string> | Specify the path to store the source map file for the resulting bundle. |
--sourcemap-sources-root <string> | Set the root path for source map entries. |
--sourcemap-use-absolute-path | Report SourceMapURL using its full path. |
--max-workers <number> | Set the maximum number of workers the worker-pool will spawn for transforming files. Defaults to the number of the cores available on your machine. |
--assets-dest <string> | Specify the directory path for storing assets referenced in the bundle. |
--reset-cache | Remove cached files. |
--read-global-cache | Attempt to fetch transformed JS code from the global cache, if configured. Defaults to false . |
--config <string> | Path to the CLI configuration file. |