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/ProvidePlugin.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/node_modules/webpack/lib/ProvidePlugin.js b/node_modules/webpack/lib/ProvidePlugin.js
index 68f2d0a..098cce3 100644
--- a/node_modules/webpack/lib/ProvidePlugin.js
+++ b/node_modules/webpack/lib/ProvidePlugin.js
@@ -24,6 +24,7 @@
class ProvidePlugin {
/**
+ * Creates an instance of ProvidePlugin.
* @param {Record<string, string | string[]>} definitions the provided identifiers
*/
constructor(definitions) {
@@ -31,7 +32,7 @@
}
/**
- * Apply the plugin
+ * Applies the plugin by registering its hooks on the compiler.
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
@@ -53,6 +54,7 @@
new ProvidedDependency.Template()
);
/**
+ * Handles the hook callback for this code path.
* @param {JavascriptParser} parser the parser
* @param {JavascriptParserOptions} parserOptions options
* @returns {void}
--
Gitblit v1.9.3