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/enhanced-resolve/lib/AliasFieldPlugin.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js b/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js
index 836487b..e4477e9 100644
--- a/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js
+++ b/node_modules/enhanced-resolve/lib/AliasFieldPlugin.js
@@ -16,7 +16,7 @@
module.exports = class AliasFieldPlugin {
/**
* @param {string | ResolveStepHook} source source
- * @param {string | Array<string>} field field
+ * @param {string | string[]} field field
* @param {string | ResolveStepHook} target target
*/
constructor(source, field, target) {
@@ -54,11 +54,11 @@
fieldData,
innerRequest,
)
- ? /** @type {{[Key in string]: JsonPrimitive}} */ (fieldData)[
+ ? /** @type {{ [Key in string]: JsonPrimitive }} */ (fieldData)[
innerRequest
]
: innerRequest.startsWith("./")
- ? /** @type {{[Key in string]: JsonPrimitive}} */ (fieldData)[
+ ? /** @type {{ [Key in string]: JsonPrimitive }} */ (fieldData)[
innerRequest.slice(2)
]
: undefined;
--
Gitblit v1.9.3