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/rules/BasicEffectRulePlugin.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/node_modules/webpack/lib/rules/BasicEffectRulePlugin.js b/node_modules/webpack/lib/rules/BasicEffectRulePlugin.js
index c7ab48b..f4d4405 100644
--- a/node_modules/webpack/lib/rules/BasicEffectRulePlugin.js
+++ b/node_modules/webpack/lib/rules/BasicEffectRulePlugin.js
@@ -9,6 +9,7 @@
/** @typedef {import("./RuleSetCompiler")} RuleSetCompiler */
/**
+ * Defines the keys of types type used by this module.
* @template T
* @template {T[keyof T]} V
* @typedef {import("./RuleSetCompiler").KeysOfTypes<T, V>} KeysOfTypes
@@ -20,15 +21,19 @@
class BasicEffectRulePlugin {
/**
+ * Creates an instance of BasicEffectRulePlugin.
* @param {BasicEffectRuleKeys} ruleProperty the rule property
* @param {string=} effectType the effect type
*/
constructor(ruleProperty, effectType) {
+ /** @type {BasicEffectRuleKeys} */
this.ruleProperty = ruleProperty;
+ /** @type {string | BasicEffectRuleKeys} */
this.effectType = effectType || ruleProperty;
}
/**
+ * Applies the plugin by registering its hooks on the compiler.
* @param {RuleSetCompiler} ruleSetCompiler the rule set compiler
* @returns {void}
*/
--
Gitblit v1.9.3