@nx/angular:convert-to-application-executor

Converts a project or all projects using one of the @angular-devkit/build-angular:browser, @angular-devkit/build-angular:browser-esbuild, @nx/angular:browser and @nx/angular:browser-esbuild executors to use the @nx/angular:application executor or the @angular-devkit/build-angular:application builder. If the converted target is using one of the @nx/angular executors, the @nx/angular:application executor will be used. Otherwise, the @angular-devkit/build-angular:application builder will be used.

Usage

1nx generate convert-to-application-executor ... 2

By default, Nx will search for convert-to-application-executor in the default collection provisioned in workspace.json.

You can specify the collection explicitly as follows:

1nx g @nx/angular:convert-to-application-executor ... 2
Nx 15 and lower use @nrwl/ instead of @nx/

Show what will be generated without writing to disk:

1nx g convert-to-application-executor ... --dry-run 2

Options

project

string

Name of the Angular application project to convert. It has to contain a target using one of the @angular-devkit/build-angular:browser, @angular-devkit/build-angular:browser-esbuild, @nx/angular:browser and @nx/angular:browser-esbuild executors. If not specified, all projects with such targets will be converted.

skipFormat

Internal
boolean
Default: false

Skip formatting files.