@nx/webpack:convert-config-to-webpack-plugin
Convert existing Webpack project(s) using @nx/webpack:webpack executor that uses withNx to use NxAppWebpackPlugin. Defaults to migrating all projects. Pass '--project' to migrate only one target.
Convert existing Webpack project(s) using @nx/webpack:webpack executor that uses withNx to use NxAppWebpackPlugin. Defaults to migrating all projects. Pass '--project' to migrate only one target.
1nx generate convert-config-to-webpack-plugin ...
2By default, Nx will search for convert-config-to-webpack-plugin in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/webpack:convert-config-to-webpack-plugin ...
2Show what will be generated without writing to disk:
1nx g convert-config-to-webpack-plugin ... --dry-run
2The project to convert from using the @nx/webpack:webpack executor and withNx plugin to use NxAppWebpackPlugin.
falseWhether to format files at the end of the migration.
We’ve teamed up with Bitovi to bring you an all new webinar. Join us May 28th for "Build Better,Ship Faster: Monorepos, Apps, & Component Libraries with Nx Cloud".