{
  "id": "webpack",
  "name": "webpack",
  "description": "Module bundler for JavaScript applications.",
  "homepage": "https://webpack.js.org",
  "executables": [
    "webpack"
  ],
  "commands": {
    "format": 1,
    "label": "Bundle",
    "description": "Root build options only; stats-*, cache-* and experiments flags are omitted.",
    "quality": "ai-draft",
    "base": "fig:webpack",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/webpack.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "config",
        "label": "Config file",
        "type": "path",
        "option": [
          "--config",
          "-c"
        ],
        "path": {
          "kind": "file",
          "role": "input"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "mode",
        "label": "Mode",
        "type": "string",
        "option": [
          "--mode"
        ],
        "suggestions": [
          {
            "value": "production",
            "label": "production"
          },
          {
            "value": "development",
            "label": "development"
          },
          {
            "value": "none",
            "label": "none"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "entry",
        "label": "Entry",
        "type": "string",
        "option": [
          "--entry"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "output_path",
        "label": "Output path",
        "type": "path",
        "option": [
          "--output-path",
          "-o"
        ],
        "path": {
          "kind": "directory",
          "role": "output"
        },
        "sources": [
          "fig"
        ]
      },
      {
        "id": "target",
        "label": "Target",
        "type": "string",
        "option": [
          "--target",
          "-t"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "devtool",
        "label": "Devtool",
        "type": "string",
        "option": [
          "--devtool",
          "-d"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "watch",
        "label": "Watch",
        "type": "boolean",
        "option": [
          "--watch",
          "-w"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "analyze",
        "label": "Bundle analyzer",
        "type": "boolean",
        "option": [
          "--analyze"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "bail",
        "label": "Bail on first error",
        "type": "boolean",
        "option": [
          "--bail"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "build",
        "label": "Build",
        "fields": [
          "config",
          "mode",
          "entry",
          "output_path",
          "target",
          "devtool",
          "watch",
          "analyze",
          "bail"
        ],
        "required": []
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "config",
          "mode",
          "entry",
          "output_path",
          "target",
          "devtool",
          "watch",
          "analyze",
          "bail"
        ]
      }
    ]
  }
}
