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/ExternalsPlugin.js | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/node_modules/webpack/lib/ExternalsPlugin.js b/node_modules/webpack/lib/ExternalsPlugin.js
index a3c1173..cab4149 100644
--- a/node_modules/webpack/lib/ExternalsPlugin.js
+++ b/node_modules/webpack/lib/ExternalsPlugin.js
@@ -13,12 +13,14 @@
/** @typedef {import("../declarations/WebpackOptions").Externals} Externals */
/** @typedef {import("./Compiler")} Compiler */
/** @typedef {import("./ExternalModule").Imported} Imported */
+/** @typedef {import("./Dependency")} Dependency */
const PLUGIN_NAME = "ExternalsPlugin";
class ExternalsPlugin {
/**
- * @param {ExternalsType} type default external type
+ * Creates an instance of ExternalsPlugin.
+ * @param {ExternalsType | ((dependency: Dependency) => ExternalsType)} type default external type
* @param {Externals} externals externals config
*/
constructor(type, externals) {
@@ -27,7 +29,7 @@
}
/**
- * Apply the plugin
+ * Applies the plugin by registering its hooks on the compiler.
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
--
Gitblit v1.9.3