From 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:09:58 +0800
Subject: [PATCH] 上报转运调试

---
 node_modules/webpack/lib/dependencies/ConstDependency.js |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/node_modules/webpack/lib/dependencies/ConstDependency.js b/node_modules/webpack/lib/dependencies/ConstDependency.js
index 9666646..97ae046 100644
--- a/node_modules/webpack/lib/dependencies/ConstDependency.js
+++ b/node_modules/webpack/lib/dependencies/ConstDependency.js
@@ -22,6 +22,7 @@
 
 class ConstDependency extends NullDependency {
 	/**
+	 * Creates an instance of ConstDependency.
 	 * @param {string} expression the expression
 	 * @param {number | Range} range the source range
 	 * @param {RawRuntimeRequirements | null=} runtimeRequirements runtime requirements
@@ -33,11 +34,12 @@
 		this.runtimeRequirements = runtimeRequirements
 			? new Set(runtimeRequirements)
 			: null;
+		/** @type {undefined | string} */
 		this._hashUpdate = undefined;
 	}
 
 	/**
-	 * Update the hash
+	 * Updates the hash with the data contributed by this instance.
 	 * @param {Hash} hash hash to be updated
 	 * @param {UpdateHashContext} context context
 	 * @returns {void}
@@ -57,6 +59,7 @@
 	}
 
 	/**
+	 * Gets module evaluation side effects state.
 	 * @param {ModuleGraph} moduleGraph the module graph
 	 * @returns {ConnectionState} how this dependency connects the module to referencing modules
 	 */
@@ -65,6 +68,7 @@
 	}
 
 	/**
+	 * Serializes this instance into the provided serializer context.
 	 * @param {ObjectSerializerContext} context context
 	 */
 	serialize(context) {
@@ -76,6 +80,7 @@
 	}
 
 	/**
+	 * Restores this instance from the provided deserializer context.
 	 * @param {ObjectDeserializerContext} context context
 	 */
 	deserialize(context) {
@@ -93,6 +98,7 @@
 	NullDependency.Template
 ) {
 	/**
+	 * Applies the plugin by registering its hooks on the compiler.
 	 * @param {Dependency} dependency the dependency for which the template should be applied
 	 * @param {ReplaceSource} source the current replace source which can be modified
 	 * @param {DependencyTemplateContext} templateContext the context object

--
Gitblit v1.9.3