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/UnsupportedFeatureWarning.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/node_modules/webpack/lib/UnsupportedFeatureWarning.js b/node_modules/webpack/lib/UnsupportedFeatureWarning.js
index 2c59f4a..d949b04 100644
--- a/node_modules/webpack/lib/UnsupportedFeatureWarning.js
+++ b/node_modules/webpack/lib/UnsupportedFeatureWarning.js
@@ -12,14 +12,18 @@
class UnsupportedFeatureWarning extends WebpackError {
/**
+ * Creates an instance of UnsupportedFeatureWarning.
* @param {string} message description of warning
* @param {DependencyLocation} loc location start and end positions of the module
*/
constructor(message, loc) {
super(message);
+ /** @type {string} */
this.name = "UnsupportedFeatureWarning";
+ /** @type {DependencyLocation} */
this.loc = loc;
+ /** @type {boolean} */
this.hideStack = true;
}
}
--
Gitblit v1.9.3