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.

internal

Parameters

Name Type Description
_ string[] Original, non-parsed arguments that were provided when running this command.
config Config React Native CLI configuration object.
args BundleArguments Parsed command line arguments.

Returns

Promise<void>

Defined in

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