@nx-plugins/vite
Version:
The Nx Plugin for Vite that contains executors, generators, and utilities for managing Vite applications and libraries within an Nx workspace.
60 lines (59 loc) • 1.47 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"cli": "nx",
"title": "Vite executor",
"description": "",
"type": "object",
"properties": {
"viteConfig": {
"description": "The path of the Vitest configuration. (https://vitest.dev/config/#configuration)",
"type": "string"
},
"host": {
"description": "specify hostname",
"type": "string"
},
"port": {
"description": "specify port",
"type": "number"
},
"https": {
"description": "use TLS + HTTP/2",
"type": "boolean"
},
"open": {
"description": "open browser on startup",
"type": "string"
},
"cors": {
"description": "enable CORS",
"type": "boolean"
},
"strictPort": {
"description": "exit if specified port is already in use",
"type": "boolean"
},
"force": {
"description": "force the optimizer to ignore the cache and re-bundle",
"type": "boolean"
},
"base": {
"description": "public base path",
"type": "string"
},
"logLevel": {
"description": "log level",
"type": "string",
"enum": ["error", "warn", "info", "silent"]
},
"clearScreen": {
"description": "allow/disable clear screen when logging",
"type": "boolean"
},
"mode": {
"description": "set env mode",
"type": "string"
}
},
"required": []
}