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/prefetch/ChunkPrefetchStartupRuntimeModule.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js b/node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js
index 0e51ad0..1bea6e0 100644
--- a/node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js
+++ b/node_modules/webpack/lib/prefetch/ChunkPrefetchStartupRuntimeModule.js
@@ -9,18 +9,21 @@
const Template = require("../Template");
/** @typedef {import("../Chunk")} Chunk */
+/** @typedef {import("../Chunk").ChunkChildOfTypeInOrder} ChunkChildOfTypeInOrder */
/** @typedef {import("../Compilation")} Compilation */
class ChunkPrefetchStartupRuntimeModule extends RuntimeModule {
/**
- * @param {{ onChunks: Chunk[], chunks: Set<Chunk> }[]} startupChunks chunk ids to trigger when chunks are loaded
+ * @param {ChunkChildOfTypeInOrder[]} startupChunks chunk ids to trigger when chunks are loaded
*/
constructor(startupChunks) {
super("startup prefetch", RuntimeModule.STAGE_TRIGGER);
+ /** @type {ChunkChildOfTypeInOrder[]} */
this.startupChunks = startupChunks;
}
/**
+ * Generates runtime code for this runtime module.
* @returns {string | null} runtime code
*/
generate() {
--
Gitblit v1.9.3