MCPcopy Index your code
hub / github.com/adobe/react-spectrum / resolve

Function resolve

scripts/esm-support/loader.mjs:1–13  ·  view source on GitHub ↗
(specifier, context, next)

Source from the content-addressed store, hash-verified

1export async function resolve(specifier, context, next) {
2 const nextResult = await next(specifier, context);
3
4 if (!specifier.endsWith('.css')) {
5 return nextResult;
6 }
7
8 return {
9 format: 'css',
10 shortCircuit: true,
11 url: nextResult.url
12 };
13}
14
15export async function load(url, context, next) {
16 if (context.format !== 'css') {

Callers 14

runFunction · 0.50
runFunction · 0.50
runFunction · 0.50
addDepsFunction · 0.50
runFunction · 0.50
getVersionBumpsMethod · 0.50
serveVersionBumpsMethod · 0.50
promptVersionsMethod · 0.50
startServerFunction · 0.50
checkServerFunction · 0.50
removeCircularDepsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected