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/lib/ModuleBuildError.js | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/node_modules/webpack/lib/ModuleBuildError.js b/node_modules/webpack/lib/ModuleBuildError.js
index 15f1695..9a83066 100644
--- a/node_modules/webpack/lib/ModuleBuildError.js
+++ b/node_modules/webpack/lib/ModuleBuildError.js
@@ -16,11 +16,13 @@
class ModuleBuildError extends WebpackError {
/**
+ * Creates an instance of ModuleBuildError.
* @param {string | ErrorWithHideStack} err error thrown
- * @param {{from?: string|null}} info additional info
+ * @param {{ from?: string | null }} info additional info
*/
constructor(err, { from = null } = {}) {
let message = "Module build failed";
+ /** @type {undefined | string} */
let details;
message += from ? ` (from ${from}):\n` : ": ";
@@ -48,12 +50,14 @@
super(message);
+ /** @type {string} */
this.name = "ModuleBuildError";
this.details = details;
this.error = err;
}
/**
+ * Serializes this instance into the provided serializer context.
* @param {ObjectSerializerContext} context context
*/
serialize(context) {
@@ -65,6 +69,7 @@
}
/**
+ * Restores this instance from the provided deserializer context.
* @param {ObjectDeserializerContext} context context
*/
deserialize(context) {
--
Gitblit v1.9.3