@nx/rspack:configuration
Rspack configuration generator.
Rspack configuration generator.
1nx generate configuration ...
2
By default, Nx will search for configuration
in the default collection provisioned in workspace.json.
You can specify the collection explicitly as follows:
1nx g @nx/rspack:configuration ...
2
Show what will be generated without writing to disk:
1nx g configuration ... --dry-run
2
The name of the project.
none
, react
, web
, nest
The framework used by the project.
Path relative to the workspace root for the main entry file. Defaults to '<projectRoot>/src/main.ts'.
Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'.
The build target of the project to be transformed to use the @nx/vite:build executor.
false
Add a serve target to run a local rspack dev-server
false
Is this a new project?
none
, css
, scss
, less
The style solution to use.
The serve target of the project to be transformed to use the @nx/vite:dev-server and @nx/vite:preview-server executors.
web
node
, web
Target platform for the build, same as the rspack config option.
No description available.