Schema for internal use only

Please do not extend this schema as it is part of Nx internal usage.

@nx/webpack:init

Initialize the Webpack Plugin.

Usage

nx generate init ...
nx g ng-add ... #same

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

You can specify the collection explicitly as follows:

Show what will be generated without writing to disk:

nx g init ... --dry-run

Options

compiler

string
Default: babel
Accepted values: babel, swc, tsc

The compiler to initialize for.

skipFormat

boolean
Default: false

Skip formatting files.

uiFramework

string
Accepted values: react, none

UI Framework to use for Webpack.