From 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 11:46:41 +0800
Subject: [PATCH] 推送
---
node_modules/webpack/lib/UnhandledSchemeError.js | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/node_modules/webpack/lib/UnhandledSchemeError.js b/node_modules/webpack/lib/UnhandledSchemeError.js
index 80fa07a..8dd4f65 100644
--- a/node_modules/webpack/lib/UnhandledSchemeError.js
+++ b/node_modules/webpack/lib/UnhandledSchemeError.js
@@ -8,8 +8,14 @@
const WebpackError = require("./WebpackError");
const makeSerializable = require("./util/makeSerializable");
+/**
+ * Error raised when webpack encounters a resource URI scheme that no installed
+ * plugin knows how to read.
+ */
class UnhandledSchemeError extends WebpackError {
/**
+ * Creates an error explaining that the current resource scheme is not
+ * supported by the active plugin set.
* @param {string} scheme scheme
* @param {string} resource resource
*/
@@ -20,6 +26,7 @@
`\nYou may need an additional plugin to handle "${scheme}:" URIs.`
);
this.file = resource;
+ /** @type {string} */
this.name = "UnhandledSchemeError";
}
}
--
Gitblit v1.9.3