{
  "title": "ConfigureWebpack Task Configuration",
  "description": "Defines parameters for the webpack bundler",

  "type": "object",
  "additionalProperties": false,
  "properties": {
    "$schema": {
      "type": "string"
    },

    "libraryName": {
      "title": "Library Name",
      "description": "optional library name - set this if the library should be a global on the window",
      "type": "string"
    },

    "libraryTarget": {
      "title": "Library Target",
      "description": "The target compilation type",
      "type": "string",
      "enum": ["var", "this", "commonjs", "amd", "umd"]
    },

    "linkedExternalsToBundle": {
      "title": "Linked Externals to Bundle",
      "description": "List of linked externals that should be bundled. Not recommended for normal use.",
      "type": "array",
      "items": {
        "type": "string"
      }
    },

    "disableAsyncComponentLoading": {
      "title": "Disable Async Component Loading",
      "description": "If set to true, don't inject the async component loading code if components are only used in async chunks",
      "type": "boolean"
    },

    "assetsAreVersioned": {
      "title": "Assets are versioned",
      "description": "If set to true, drop release assets in an \"assets-versioned\" folder instead of \"assets\".",
      "type": "boolean"
    }
  }
}
