UNPKG

@nx/rsbuild

Version:

The Nx Plugin for Rsbuild contains an Nx plugin, executors and utilities that support building applications using Rsbuild.

48 lines (47 loc) 1.47 kB
{ "$schema": "http://json-schema.org/schema", "$id": "Rsbuild", "title": "Nx Rsbuild Configuration Generator", "description": "Rsbuild configuration generator.", "type": "object", "properties": { "project": { "type": "string", "description": "The name of the project.", "$default": { "$source": "argv", "index": 0 }, "x-dropdown": "project", "x-prompt": "What is the name of the project to set up a Rsbuild for?", "x-priority": "important" }, "entry": { "type": "string", "description": "Path relative to the workspace root for the entry file. Defaults to '<projectRoot>/src/index.ts'.", "x-priority": "important" }, "tsConfig": { "type": "string", "description": "Path relative to the workspace root for the tsconfig file to build with. Defaults to '<projectRoot>/tsconfig.app.json'.", "x-priority": "important" }, "devServerPort": { "type": "number", "description": "The port for the dev server to listen on.", "default": 4200 }, "target": { "type": "string", "description": "Target platform for the build, same as the Rsbuild output.target config option.", "enum": ["node", "web", "web-worker"], "default": "web" }, "skipFormat": { "description": "Skip formatting files.", "type": "boolean", "default": false, "x-priority": "internal" } } }