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/node/NodeEnvironmentPlugin.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/node_modules/webpack/lib/node/NodeEnvironmentPlugin.js b/node_modules/webpack/lib/node/NodeEnvironmentPlugin.js
index 96e90de..498c8f6 100644
--- a/node_modules/webpack/lib/node/NodeEnvironmentPlugin.js
+++ b/node_modules/webpack/lib/node/NodeEnvironmentPlugin.js
@@ -16,6 +16,7 @@
/** @typedef {import("../util/fs").InputFileSystem} InputFileSystem */
/**
+ * Defines the node environment plugin options type used by this module.
* @typedef {object} NodeEnvironmentPluginOptions
* @property {InfrastructureLogging} infrastructureLogging infrastructure logging options
*/
@@ -24,14 +25,16 @@
class NodeEnvironmentPlugin {
/**
+ * Creates an instance of NodeEnvironmentPlugin.
* @param {NodeEnvironmentPluginOptions} options options
*/
constructor(options) {
+ /** @type {NodeEnvironmentPluginOptions} */
this.options = options;
}
/**
- * 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