@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.
84 lines • 2.15 kB
JSON
{
"$schema": "http://json-schema.org/schema",
"cli": "nx",
"title": "Vite Build executor",
"description": "",
"type": "object",
"properties": {
"viteConfig": {
"description": "The path of the Vitest configuration. (https://vitest.dev/config/#configuration)",
"type": "string"
},
"target": {
"description": "transpile target",
"type": "string"
},
"outDir": {
"description": "output directory",
"type": "string"
},
"assetsDir": {
"description": "directory under outDir to place assets in",
"type": "string"
},
"assetsInlineLimit": {
"description": "static asset base64 inline threshold in bytes",
"type": "number"
},
"ssr": {
"description": "build specified entry for server-side rendering",
"type": "string"
},
"sourcemap": {
"description": "output source maps for build",
"type": "boolean"
},
"minify": {
"description": "enable/disable minification, or specify minifier to use",
"enum": [
"terser",
"esbuild"
],
"type": "string"
},
"manifest": {
"description": "emit build manifest json",
"type": "string"
},
"ssrManifest": {
"description": "emit ssr manifest json",
"type": "string"
},
"force": {
"description": "force the optimizer to ignore the cache and re-bundle (experimental)",
"type": "boolean"
},
"emptyOutDir": {
"description": "force empty outDir when it's outside of root",
"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": []
}