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/ConstPlugin.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/node_modules/webpack/lib/ConstPlugin.js b/node_modules/webpack/lib/ConstPlugin.js
index d3b5891..0122621 100644
--- a/node_modules/webpack/lib/ConstPlugin.js
+++ b/node_modules/webpack/lib/ConstPlugin.js
@@ -30,6 +30,7 @@
/** @typedef {Set<string>} Declarations */
/**
+ * Collect declaration.
* @param {Declarations} declarations set of declarations
* @param {Identifier | Pattern} pattern pattern to collect declarations from
*/
@@ -64,6 +65,7 @@
};
/**
+ * Gets hoisted declarations.
* @param {Statement} branch branch to get hoisted declarations from
* @param {boolean} includeFunctionDeclarations whether to include function declarations
* @returns {string[]} hoisted declarations
@@ -138,7 +140,7 @@
class ConstPlugin {
/**
- * Apply the plugin
+ * Applies the plugin by registering its hooks on the compiler.
* @param {Compiler} compiler the compiler instance
* @returns {void}
*/
@@ -158,6 +160,7 @@
);
/**
+ * Handles the hook callback for this code path.
* @param {JavascriptParser} parser the parser
*/
const handler = (parser) => {
--
Gitblit v1.9.3