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/wasm-sync/WasmChunkLoadingRuntimeModule.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js b/node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js
index 5e5eefd..f86889b 100644
--- a/node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js
+++ b/node_modules/webpack/lib/wasm-sync/WasmChunkLoadingRuntimeModule.js
@@ -31,6 +31,7 @@
*/
const getAllWasmModules = (moduleGraph, chunkGraph, chunk) => {
const wasmModules = chunk.getAllAsyncChunks();
+ /** @type {Module[]} */
const array = [];
for (const chunk of wasmModules) {
for (const m of chunkGraph.getOrderedChunkModulesIterable(
@@ -67,6 +68,7 @@
const moduleGraph = chunkGraph.moduleGraph;
/** @type {Map<string, ModuleId>} */
const waitForInstances = new Map();
+ /** @type {{ module: string, name: string, value: string }[]} */
const properties = [];
const usedWasmDependencies = WebAssemblyUtils.getUsedDependencies(
moduleGraph,
@@ -136,6 +138,7 @@
}
}
+ /** @type {string[]} */
let importObject;
if (mangle) {
importObject = [
@@ -242,6 +245,7 @@
}
/**
+ * Generates runtime code for this runtime module.
* @returns {string | null} runtime code
*/
generate() {
--
Gitblit v1.9.3