{
  "name": "static-config",
  "factory": "./src/generators/static-serve/static-serve-configuration",
  "schema": {
    "$schema": "https://json-schema.org/schema",
    "$id": "NxWebStaticServe",
    "cli": "nx",
    "title": "Static Serve Configuration",
    "description": "Add a new serve target to serve a build apps static files. This allows for faster serving of the static build files by reusing the case. Helpful when reserving the app over and over again like in e2e tests.",
    "type": "object",
    "properties": {
      "buildTarget": {
        "type": "string",
        "description": "Name of the build target to serve"
      },
      "outputPath": {
        "type": "string",
        "description": "Path to the directory of the built files. This is only needed if buildTarget doesn't specify an outputPath executor option."
      },
      "targetName": {
        "type": "string",
        "description": "Name of the serve target to add. Defaults to 'serve-static'.",
        "default": "serve-static"
      },
      "spa": {
        "type": "boolean",
        "description": "Whether to set the 'spa' flag on the generated target.",
        "default": true
      }
    },
    "required": ["buildTarget"],
    "presets": []
  },
  "description": "Add a new static-serve target to a project.",
  "implementation": "/packages/web/src/generators/static-serve/static-serve-configuration.ts",
  "aliases": [],
  "hidden": false,
  "path": "/packages/web/src/generators/static-serve/schema.json",
  "type": "generator"
}
