UNPKG

@nx/rspack

Version:

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

52 lines (51 loc) 1.43 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", "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"] }