@nx/rspack:convert-config-to-rspack-plugin
Convert existing Rspack project(s) using @nx/rspack:rspack
executor that uses withNx
to use NxAppRspackPlugin
. Defaults to migrating all projects. Pass '--project' to migrate only one target.
Convert existing Rspack project(s) using @nx/rspack:rspack
executor that uses withNx
to use NxAppRspackPlugin
. Defaults to migrating all projects. Pass '--project' to migrate only one target.
1nx generate convert-config-to-rspack-plugin ...
2
By default, Nx will search for convert-config-to-rspack-plugin
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/rspack:convert-config-to-rspack-plugin ...
2
Show what will be generated without writing to disk:
1nx g convert-config-to-rspack-plugin ... --dry-run
2
The project to convert from using the @nx/rspack:rspack
executor and withNx
plugin to use NxAppRspackPlugin
.
false
Whether to format files at the end of the migration.
Learn how Nx Cloud can help you overcome the performance paradox with fast, reliable CI and better coordination as you scale your organization.