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/dependencies/ImportMetaContextDependencyParserPlugin.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js b/node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js
index 72aeea6..1f762cd 100644
--- a/node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js
+++ b/node_modules/webpack/lib/dependencies/ImportMetaContextDependencyParserPlugin.js
@@ -25,9 +25,10 @@
 /** @typedef {import("../Dependency").DependencyLocation} DependencyLocation */
 /** @typedef {import("../javascript/BasicEvaluatedExpression")} BasicEvaluatedExpression */
 
-/** @typedef {Pick<ContextModuleOptions, 'mode' | 'recursive' | 'regExp' | 'include' | 'exclude' | 'chunkName'> & { groupOptions: RawChunkGroupOptions, exports?: RawReferencedExports }} ImportMetaContextOptions */
+/** @typedef {Pick<ContextModuleOptions, "mode" | "recursive" | "regExp" | "include" | "exclude" | "chunkName"> & { groupOptions: RawChunkGroupOptions, exports?: RawReferencedExports }} ImportMetaContextOptions */
 
 /**
+ * Creates a property parse error.
  * @param {Property} prop property
  * @param {string} expect except message
  * @returns {WebpackError} error
@@ -44,6 +45,7 @@
 }
 
 /**
+ * Creates an error from the provided msg.
  * @param {string} msg message
  * @param {DependencyLocation} loc location
  * @returns {WebpackError} error
@@ -59,6 +61,7 @@
 
 module.exports = class ImportMetaContextDependencyParserPlugin {
 	/**
+	 * Applies the plugin by registering its hooks on the compiler.
 	 * @param {JavascriptParser} parser the parser
 	 * @returns {void}
 	 */
@@ -84,6 +87,7 @@
 				);
 				if (!requestExpr.isString()) return;
 				const request = /** @type {string} */ (requestExpr.string);
+				/** @type {WebpackError[]} */
 				const errors = [];
 				let regExp = /^\.\/.*$/;
 				let recursive = true;

--
Gitblit v1.9.3