A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://nx.dev/technologies/typescript/api/generators/setup-build below:

Website Navigation


@nx/js:setup-build | Nx

@nx/js:setup-build

Sets up build target for a project.

Usage

nx generate setup-build ...

By default, Nx will search for setup-build in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

nx g @nx/js:setup-build ...

Show what will be generated without writing to disk:

nx g setup-build ... --dry-run

Options

string

Default: tsc

Accepted values: tsc, swc, rollup, vite, esbuild

The bundler to use to build the project.

Project to add the build target to.

The path to the main entry file, relative to workspace root. Defaults to <project>/src/index.ts or <project>/src/main.ts.

The path to the tsConfig file, relative to workspace root. Defaults to <project>/tsconfig.lib.json or <project>/tsconfig.app.json depending on project type.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4