51 lines
880 B
Markdown
51 lines
880 B
Markdown
---
|
|
title: '@nrwl/react-native:bundle executor'
|
|
description: 'Builds the JS bundle.'
|
|
---
|
|
|
|
# @nrwl/react-native:bundle
|
|
|
|
Builds the JS bundle.
|
|
|
|
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.
|