WXL
3 天以前 9bce51f651aad297ef9eb6df832bfdaf1de05d84
node_modules/webpack/schemas/plugins/schemes/VirtualUrlPlugin.json
@@ -5,10 +5,14 @@
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "context": {
          "description": "The context for the virtual module. A string path. Defaults to 'auto', which will try to resolve the context from the module id.",
          "type": "string"
        },
        "source": {
          "description": "The source function that provides the virtual content.",
          "instanceof": "Function",
          "tsType": "(import('../../../lib/schemes/VirtualUrlPlugin').SourceFn)"
          "tsType": "import('../../../lib/schemes/VirtualUrlPlugin').SourceFn"
        },
        "type": {
          "description": "The module type.",
@@ -26,7 +30,7 @@
            },
            {
              "instanceof": "Function",
              "tsType": "(import('../../../lib/schemes/VirtualUrlPlugin').VersionFn)"
              "tsType": "import('../../../lib/schemes/VirtualUrlPlugin').VersionFn"
            }
          ]
        }
@@ -41,7 +45,7 @@
        },
        {
          "instanceof": "Function",
          "tsType": "(import('../../../lib/schemes/VirtualUrlPlugin').SourceFn)"
          "tsType": "import('../../../lib/schemes/VirtualUrlPlugin').SourceFn"
        },
        {
          "$ref": "#/definitions/VirtualModule"
@@ -53,6 +57,10 @@
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "context": {
          "description": "The default context for virtual modules. A string path. Defaults to 'auto', which will try to resolve the context from the module id.",
          "type": "string"
        },
        "modules": {
          "description": "The virtual modules configuration.",
          "type": "object",