Skip to main content
Version: 2x

Function: bundle

bundle(_, config, args): 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

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

Returns

void

Defined in

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