{
    "version": 2,
    "outputCapture": "direct-nodejs",
    "title": "Vite Prod Builder",
    "cli": "nx",
    "description": "Builds a Vite application for production.",
    "type": "object",
    "x-deprecated": "The `@nx/vite:build` 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": []
        }
    ],
    "properties": {
        "outputPath": {
            "type": "string",
            "description": "The output path of the generated files.",
            "x-completion-type": "directory",
            "x-priority": "important"
        },
        "buildLibsFromSource": {
            "type": "boolean",
            "description": "Read buildable libraries from source instead of building them separately.",
            "default": true
        },
        "skipTypeCheck": {
            "type": "boolean",
            "description": "Skip type-checking via TypeScript. Skipping type-checking speeds up the build but type errors are not caught.",
            "default": false
        },
        "tsConfig": {
            "type": "string",
            "description": "The path to custom tsconfig file for type-checking when skipTypeCheck is false. Required when tsconfig file is not at the projectRoot level.",
            "x-completion-type": "file",
            "x-completion-glob": "tsconfig.*.json"
        },
        "configFile": {
            "type": "string",
            "description": "The name of the Vite configuration file.",
            "x-completion-type": "file",
            "x-completion-glob": "vite.config.@(js|ts)"
        },
        "watch": {
            "description": "Enable re-building when files change.",
            "oneOf": [
                {
                    "type": "boolean"
                },
                {
                    "type": "object"
                }
            ],
            "default": false
        },
        "generatePackageJson": {
            "description": "Generate a package.json for the build output.",
            "type": "boolean"
        },
        "includeDevDependenciesInPackageJson": {
            "description": "Include devDependencies in the generated package.json.",
            "type": "boolean"
        },
        "skipOverrides": {
            "type": "boolean",
            "description": "Do not add a `overrides` and `resolutions` entries to the generated package.json file. Only works in conjunction with `generatePackageJson` option."
        },
        "skipPackageManager": {
            "type": "boolean",
            "description": "Do not add a `packageManager` entry to the generated package.json file. Only works in conjunction with `generatePackageJson` option."
        },
        "useEnvironmentsApi": {
            "alias": "app",
            "type": "boolean",
            "description": "Use the new Environments API for building multiple environments at once. Only works with Vite 6.0.0 or higher.",
            "default": false
        }
    },
    "definitions": {},
    "required": [],
    "examplesFile": "../../../docs/build-examples.md"
}
