@nrwl/react-native:bundle

Builds the JavaScript bundle for offline use.

Options can be configured in workspace.json when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/configuration/projectjson#targets.

Options

bundleOutput (required)

Type: string

The output path of the generated files.

entryFile (required)

Type: string

The entry file relative to project root.

platform (required)

Type: string

Platform to build for (ios, android).

dev

Default: true

Type: boolean

Generate a development build.

maxWorkers

Type: number

The number of workers we should parallelize the transformer on.

sourceMap

Type: boolean

Whether source maps should be generated or not.