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/esm/ModuleChunkLoadingRuntimeModule.js | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js b/node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js
index 453320c..ab6f473 100644
--- a/node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js
+++ b/node_modules/webpack/lib/esm/ModuleChunkLoadingRuntimeModule.js
@@ -25,6 +25,7 @@
/** @typedef {import("../Module").ReadOnlyRuntimeRequirements} ReadOnlyRuntimeRequirements */
/**
+ * Defines the jsonp compilation plugin hooks type used by this module.
* @typedef {object} JsonpCompilationPluginHooks
* @property {SyncWaterfallHook<[string, Chunk]>} linkPreload
* @property {SyncWaterfallHook<[string, Chunk]>} linkPrefetch
@@ -35,6 +36,7 @@
class ModuleChunkLoadingRuntimeModule extends RuntimeModule {
/**
+ * Returns hooks.
* @param {Compilation} compilation the compilation
* @returns {JsonpCompilationPluginHooks} hooks
*/
@@ -56,14 +58,17 @@
}
/**
+ * Creates an instance of ModuleChunkLoadingRuntimeModule.
* @param {ReadOnlyRuntimeRequirements} runtimeRequirements runtime requirements
*/
constructor(runtimeRequirements) {
super("import chunk loading", RuntimeModule.STAGE_ATTACH);
+ /** @type {ReadOnlyRuntimeRequirements} */
this._runtimeRequirements = runtimeRequirements;
}
/**
+ * Returns generated code.
* @private
* @param {Chunk} chunk chunk
* @param {string} rootOutputDir root output directory
@@ -84,6 +89,7 @@
}
/**
+ * Generates runtime code for this runtime module.
* @returns {string | null} runtime code
*/
generate() {
--
Gitblit v1.9.3