From 9bce51f651aad297ef9eb6df832bfdaf1de05d84 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 14:27:54 +0800
Subject: [PATCH] 青岛推送
---
node_modules/webpack/schemas/plugins/schemes/VirtualUrlPlugin.json | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/node_modules/webpack/schemas/plugins/schemes/VirtualUrlPlugin.json b/node_modules/webpack/schemas/plugins/schemes/VirtualUrlPlugin.json
index 34582ab..01b77fd 100644
--- a/node_modules/webpack/schemas/plugins/schemes/VirtualUrlPlugin.json
+++ b/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",
--
Gitblit v1.9.3