@nx/webpack:convert-to-inferred

Convert existing Webpack project(s) using @nx/webpack:wepack executor to use @nx/webpack/plugin.

Usage

1nx generate convert-to-inferred ... 2

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

You can specify the collection explicitly as follows:

1nx g @nx/webpack:convert-to-inferred ... 2

Show what will be generated without writing to disk:

1nx g convert-to-inferred ... --dry-run 2

Options

project

string

The project to convert from using the @nx/webpack:webpack executor to use @nx/webpack/plugin. If not provided, all projects using the @nx/webpack:webpack executor will be converted.

skipFormat

boolean
Default: false

Whether to format files.