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/ErrorHelpers.js | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/node_modules/webpack/lib/ErrorHelpers.js b/node_modules/webpack/lib/ErrorHelpers.js
index b23d1f1..918eb38 100644
--- a/node_modules/webpack/lib/ErrorHelpers.js
+++ b/node_modules/webpack/lib/ErrorHelpers.js
@@ -10,6 +10,7 @@
const webpackOptionsFlag = "WEBPACK_OPTIONS";
/**
+ * Returns stack trace without the specified flag included.
* @param {string} stack stack trace
* @param {string} flag flag to cut off
* @returns {string} stack trace without the specified flag included
@@ -25,18 +26,21 @@
};
/**
+ * Cut off loader execution.
* @param {string} stack stack trace
* @returns {string} stack trace without the loader execution flag included
*/
const cutOffLoaderExecution = (stack) => cutOffByFlag(stack, loaderFlag);
/**
+ * Cut off webpack options.
* @param {string} stack stack trace
* @returns {string} stack trace without the webpack options flag included
*/
const cutOffWebpackOptions = (stack) => cutOffByFlag(stack, webpackOptionsFlag);
/**
+ * Cut off multiline message.
* @param {string} stack stack trace
* @param {string} message error message
* @returns {string} stack trace without the message included
@@ -56,6 +60,7 @@
};
/**
+ * Returns stack trace without the message included.
* @param {string} stack stack trace
* @param {string} message error message
* @returns {string} stack trace without the message included
@@ -70,6 +75,7 @@
};
/**
+ * Returns stack trace without the loader execution flag and message included.
* @param {string} stack stack trace
* @param {string} message error message
* @returns {string} stack trace without the loader execution flag and message included
@@ -81,6 +87,7 @@
};
/**
+ * Clean up webpack options.
* @param {string} stack stack trace
* @param {string} message error message
* @returns {string} stack trace without the webpack options flag and message included
--
Gitblit v1.9.3