UNPKG

@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.

100 lines (99 loc) 2.53 kB
{ "$schema": "http://json-schema.org/schema", "cli": "nx", "title": "Preview 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" }, "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", "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": [] }