{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "title": "Webpack 5 Plugin Configuration",
  "description": "Defines options for Webpack 5 plugin execution.",
  "type": "object",

  "additionalProperties": false,

  "properties": {
    "$schema": {
      "description": "Part of the JSON Schema standard, this optional keyword declares the URL of the schema that the file conforms to. Editors may download the schema and use it to perform syntax highlighting.",
      "type": "string"
    },

    "devConfigurationPath": {
      "description": "Specifies a relative path to the Webpack dev configuration, which is used in \"serve\" mode. The default value is \"./webpack.dev.config.js\".",
      "type": "string"
    },

    "configurationPath": {
      "description": "Specifies a relative path to the Webpack configuration. The default value is \"./webpack.config.js\".",
      "type": "string"
    },

    "deleteStaleAssetsInWatchMode": {
      "description": "If true, then in watch mode, each compilation without errors deletes the output files that earlier compilations emitted and it doesn't, such as the chunk of a dynamic import that was removed, or a file whose name contains a hash that changed. Only files that Webpack emitted into the output folder during the watch session are deleted; other files, such as the outputs of other tasks and files that Webpack writes outside the output folder, are never deleted. As with Webpack's output.clean option, if a plugin emits a file in some compilations only, a compilation that doesn't emit it deletes it. The default value is false.",
      "type": "boolean"
    }
  }
}
