MCPcopy
hub / github.com/webpack/sass-loader / resolve

Function resolve

test/resolver.test.js:19–20  ·  view source on GitHub ↗
(request, ...options)

Source from the content-addressed store, hash-verified

17 */
18describe("getWebpackResolver", () => {
19 const resolve = (request, ...options) =>
20 getWebpackResolver(enhanced.create, ...options)(__filename, request);
21
22 it("should resolve .scss from node_modules", async () => {
23 assert.match(await resolve("scss/style"), /style\.scss$/);

Callers 9

resolver.test.jsFile · 0.85
compiler.jsFile · 0.85
close.jsFile · 0.85
getCodeFromSassFunction · 0.85
promiseResolveFunction · 0.85
startResolvingFunction · 0.85
canonicalizeFunction · 0.85
loadFunction · 0.85

Calls 1

getWebpackResolverFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…