Skip to main content
Version: 3x

Function: bundle

bundle(_, config, args): Promise\<void>

Bundle command for React Native CLI. It runs Webpack, builds bundle and saves it alongside any other assets and Source Map to filesystem.

Parameters

NameTypeDescription
_string[]Original, non-parsed arguments that were provided when running this command.
configConfigReact Native CLI configuration object.
argsBundleArgumentsParsed command line arguments.

Returns

Promise\<void>

Defined in

packages/repack/src/commands/bundle.ts:23