From 2cc85c64f1c64a2dbaeae276a3e2ca8420de76b7 Mon Sep 17 00:00:00 2001
From: WXL <wl_5969728@163.com>
Date: 星期三, 22 四月 2026 18:09:58 +0800
Subject: [PATCH] 上报转运调试
---
node_modules/webpack/lib/ModuleTypeConstants.js | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/node_modules/webpack/lib/ModuleTypeConstants.js b/node_modules/webpack/lib/ModuleTypeConstants.js
index 5ab87e8..fe0e98f 100644
--- a/node_modules/webpack/lib/ModuleTypeConstants.js
+++ b/node_modules/webpack/lib/ModuleTypeConstants.js
@@ -97,7 +97,7 @@
/**
* @type {Readonly<"asset/raw-data-url">}
- * TODO: Document what this asset type is for. See css-loader tests for its usage.
+ * This is the module type used for the ignored asset module.
*/
const ASSET_MODULE_TYPE_RAW_DATA_URL = "asset/raw-data-url";
@@ -110,21 +110,18 @@
/**
* @type {Readonly<"fallback-module">}
* This is the module type used for the ModuleFederation feature's FallbackModule class.
- * TODO: Document this better.
*/
const WEBPACK_MODULE_TYPE_FALLBACK = "fallback-module";
/**
* @type {Readonly<"remote-module">}
* This is the module type used for the ModuleFederation feature's RemoteModule class.
- * TODO: Document this better.
*/
const WEBPACK_MODULE_TYPE_REMOTE = "remote-module";
/**
* @type {Readonly<"provide-module">}
* This is the module type used for the ModuleFederation feature's ProvideModule class.
- * TODO: Document this better.
*/
const WEBPACK_MODULE_TYPE_PROVIDE = "provide-module";
@@ -178,7 +175,7 @@
module.exports.JSON_MODULE_TYPE = JSON_MODULE_TYPE;
/** @type {WebAssemblyModuleTypes[]} */
module.exports.WEBASSEMBLY_MODULES = [
- WEBASSEMBLY_MODULE_TYPE_SYNC,
+ WEBASSEMBLY_MODULE_TYPE_ASYNC,
WEBASSEMBLY_MODULE_TYPE_SYNC
];
module.exports.WEBASSEMBLY_MODULE_TYPE_ASYNC = WEBASSEMBLY_MODULE_TYPE_ASYNC;
--
Gitblit v1.9.3