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/DependencyTemplate.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/node_modules/webpack/lib/DependencyTemplate.js b/node_modules/webpack/lib/DependencyTemplate.js
index 049eed2..45179e7 100644
--- a/node_modules/webpack/lib/DependencyTemplate.js
+++ b/node_modules/webpack/lib/DependencyTemplate.js
@@ -19,11 +19,13 @@
/** @typedef {import("./RuntimeTemplate")} RuntimeTemplate */
/**
+ * Defines the init fragment type used by this module.
* @template T
* @typedef {import("./InitFragment")<T>} InitFragment
*/
/**
+ * Defines the dependency template context type used by this module.
* @typedef {object} DependencyTemplateContext
* @property {RuntimeTemplate} runtimeTemplate the runtime template
* @property {DependencyTemplates} dependencyTemplates the dependency templates
@@ -39,12 +41,14 @@
*/
/**
+ * Defines the css dependency template context extras type used by this module.
* @typedef {object} CssDependencyTemplateContextExtras
* @property {CssData} cssData the css exports data
* @property {string} type the css exports data
*/
/**
+ * Defines the css data type used by this module.
* @typedef {object} CssData
* @property {boolean} esModule whether export __esModule
* @property {Map<string, string>} exports the css exports
@@ -55,6 +59,7 @@
class DependencyTemplate {
/* istanbul ignore next */
/**
+ * Applies the plugin by registering its hooks on the compiler.
* @abstract
* @param {Dependency} dependency the dependency for which the template should be applied
* @param {ReplaceSource} source the current replace source which can be modified
--
Gitblit v1.9.3