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/ResolverFactory.js | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/node_modules/webpack/lib/ResolverFactory.js b/node_modules/webpack/lib/ResolverFactory.js
index 62f7e05..51c1243 100644
--- a/node_modules/webpack/lib/ResolverFactory.js
+++ b/node_modules/webpack/lib/ResolverFactory.js
@@ -20,6 +20,7 @@
/** @typedef {WebpackResolveOptions & { dependencyType?: string, resolveToContext?: boolean }} ResolveOptionsWithDependencyType */
/**
+ * Defines the with options type used by this module.
* @typedef {object} WithOptions
* @property {(options: Partial<ResolveOptionsWithDependencyType>) => ResolverWithOptions} withOptions create a resolver with additional/different options
*/
@@ -31,6 +32,7 @@
const EMPTY_RESOLVE_OPTIONS = {};
/**
+ * Convert to resolve options.
* @param {ResolveOptionsWithDependencyType} resolveOptionsWithDepType enhanced options
* @returns {ResolveOptions} merged options
*/
@@ -69,6 +71,7 @@
};
/**
+ * Represents the resolver factory runtime component.
* @typedef {object} ResolverCache
* @property {WeakMap<ResolveOptionsWithDependencyType, ResolverWithOptions>} direct
* @property {Map<string, ResolverWithOptions>} stringified
@@ -91,6 +94,7 @@
}
/**
+ * Returns the resolver.
* @param {string} type type of resolver
* @param {ResolveOptionsWithDependencyType=} resolveOptions options
* @returns {ResolverWithOptions} the resolver
@@ -121,6 +125,7 @@
}
/**
+ * Returns the resolver.
* @param {string} type type of resolver
* @param {ResolveOptionsWithDependencyType} resolveOptionsWithDepType options
* @returns {ResolverWithOptions} the resolver
--
Gitblit v1.9.3