UNPKG

@nx/vite

Version:

The Nx Plugin for building and testing applications using Vite

41 lines (40 loc) 1.5 kB
{ "version": 2, "continuous": true, "outputCapture": "direct-nodejs", "title": "Vite Dev Server", "cli": "nx", "description": "Starts a dev server using Vite.", "type": "object", "x-deprecated": "The `@nx/vite:dev-server` executor is deprecated and will be removed in Nx v24. Run `nx g @nx/vite:convert-to-inferred` to migrate to the `@nx/vite/plugin` inferred plugin. See https://nx.dev/docs/guides/tasks--caching/convert-to-inferred for details.", "presets": [ { "name": "Default minimum setup", "keys": ["buildTarget"] }, { "name": "Using a Different Port", "keys": ["buildTarget", "port"] } ], "properties": { "buildTarget": { "type": "string", "description": "Target which builds the application. Only used to retrieve the configuration as the dev-server does not build the code.", "x-priority": "important" }, "buildLibsFromSource": { "type": "boolean", "description": "Read buildable libraries from source instead of building them separately.", "default": true }, "proxyConfig": { "type": "string", "description": "Path to the proxy configuration file.", "x-completion-type": "file" } }, "definitions": {}, "required": ["buildTarget"], "examplesFile": "../../../docs/dev-server-examples.md" }