@nx/rsbuild:configuration

Rsbuild configuration generator.

Usage

1nx generate configuration ... 2

By default, Nx will search for configuration in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

1nx g @nx/rsbuild:configuration ... 2

Show what will be generated without writing to disk:

1nx g configuration ... --dry-run 2

Options

entry

string

Path relative to the workspace root for the entry file. Defaults to '<projectRoot>/src/index.ts'.

project

string

The name of the project.

tsConfig

string

Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'.

target

string
Default: web
Accepted values: node, web, web-worker

Target platform for the build, same as the Rsbuild output.target config option.

skipFormat

Internal
boolean
Default: false

Skip formatting files.