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/ChunkTemplate.js | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/node_modules/webpack/lib/ChunkTemplate.js b/node_modules/webpack/lib/ChunkTemplate.js
index 458d19c..7da5b8d 100644
--- a/node_modules/webpack/lib/ChunkTemplate.js
+++ b/node_modules/webpack/lib/ChunkTemplate.js
@@ -20,6 +20,7 @@
/** @typedef {import("./ModuleTemplate")} ModuleTemplate */
/** @typedef {import("./javascript/JavascriptModulesPlugin").RenderContext} RenderContext */
/**
+ * Defines the if set type used by this module.
* @template T
* @typedef {import("tapable").IfSet<T>} IfSet
*/
@@ -31,6 +32,7 @@
// TODO webpack 6 remove this class
class ChunkTemplate {
/**
+ * Creates an instance of ChunkTemplate.
* @param {OutputOptions} outputOptions output options
* @param {Compilation} compilation the compilation
*/
@@ -40,6 +42,7 @@
renderManifest: {
tap: util.deprecate(
/**
+ * Handles the callback logic for this hook.
* @template AdditionalOptions
* @param {string | Tap & IfSet<AdditionalOptions>} options options
* @param {(renderManifestEntries: RenderManifestEntry[], renderManifestOptions: RenderManifestOptions) => RenderManifestEntry[]} fn function
@@ -60,6 +63,7 @@
modules: {
tap: util.deprecate(
/**
+ * Handles the callback logic for this hook.
* @template AdditionalOptions
* @param {string | Tap & IfSet<AdditionalOptions>} options options
* @param {(source: Source, moduleTemplate: ModuleTemplate, renderContext: RenderContext) => Source} fn function
@@ -82,6 +86,7 @@
render: {
tap: util.deprecate(
/**
+ * Handles the callback logic for this hook.
* @template AdditionalOptions
* @param {string | Tap & IfSet<AdditionalOptions>} options options
* @param {(source: Source, moduleTemplate: ModuleTemplate, renderContext: RenderContext) => Source} fn function
@@ -104,6 +109,7 @@
renderWithEntry: {
tap: util.deprecate(
/**
+ * Handles the callback logic for this hook.
* @template AdditionalOptions
* @param {string | Tap & IfSet<AdditionalOptions>} options options
* @param {(source: Source, chunk: Chunk) => Source} fn function
@@ -130,6 +136,7 @@
hash: {
tap: util.deprecate(
/**
+ * Handles the callback logic for this hook.
* @template AdditionalOptions
* @param {string | Tap & IfSet<AdditionalOptions>} options options
* @param {(hash: Hash) => void} fn function
@@ -144,6 +151,7 @@
hashForChunk: {
tap: util.deprecate(
/**
+ * Handles the callback logic for this hook.
* @template AdditionalOptions
* @param {string | Tap & IfSet<AdditionalOptions>} options options
* @param {(hash: Hash, chunk: Chunk, chunkHashContext: ChunkHashContext) => void} fn function
@@ -167,6 +175,7 @@
Object.defineProperty(ChunkTemplate.prototype, "outputOptions", {
get: util.deprecate(
/**
+ * Returns output options.
* @this {ChunkTemplate}
* @returns {OutputOptions} output options
*/
--
Gitblit v1.9.3