UNPKG

@nx/rspack

Version:

The Nx Plugin for Rspack contains executors and generators that support building applications using Rspack.

53 lines (52 loc) 1.7 kB
{ "$schema": "http://json-schema.org/schema", "version": 2, "title": "Rspack dev-server executor", "description": "Run @rspack/dev-server to serve a project.", "continuous": true, "type": "object", "x-deprecated": "The `@nx/rspack:dev-server` executor is deprecated and will be removed in Nx v24. Run `nx g @nx/rspack:convert-to-inferred` to migrate to the `@nx/rspack/plugin` inferred plugin. See https://nx.dev/docs/guides/tasks--caching/convert-to-inferred for details.", "properties": { "buildTarget": { "type": "string", "description": "The build target for rspack." }, "port": { "type": "number", "description": "The port to for the dev-server to listen on." }, "mode": { "type": "string", "description": "Mode to run the server in.", "enum": ["development", "production", "none"] }, "host": { "type": "string", "description": "Host to listen on.", "default": "localhost" }, "ssl": { "type": "boolean", "description": "Serve using `HTTPS`.", "default": false }, "sslKey": { "type": "string", "description": "SSL key to use for serving `HTTPS`." }, "sslCert": { "type": "string", "description": "SSL certificate to use for serving `HTTPS`." }, "proxyConfig": { "type": "string", "description": "Path to proxy configuration file. For more information, see https://rspack.rs/config/dev-server#devserverproxy.", "x-completion-type": "file" }, "publicHost": { "type": "string", "description": "Public URL where the application will be served." } }, "required": ["buildTarget"] }