MCPcopy
hub / github.com/webpack/webpack / resolve

Method resolve

lib/NormalModule.js:1301–1303  ·  lib/NormalModule.js::NormalModule.resolve

@type {LoaderContext<EXPECTED_ANY>["resolve"]}

(context, request, callback)

Source from the content-addressed store, hash-verified

1299 },
1300 /** @type {LoaderContext<EXPECTED_ANY>[class="st">"resolve"]} */
1301 resolve(context, request, callback) {
1302 resolver.resolve({}, context, request, getResolveContext(), callback);
1303 },
1304 /** @type {LoaderContext<EXPECTED_ANY>[class="st">"getResolve"]} */
1305 getResolve(options) {
1306 const child = options ? resolver.withOptions(options) : resolver;

Callers

nothing calls this directly

Calls 1

resolveMethod · 0.65

Tested by

no test coverage detected