From 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期二, 21 四月 2026 11:46:41 +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