Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/rollup/plugins
/ load
Function
load
packages/node-resolve/test/test.mjs:416–421 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
414
nodeResolve(),
415
{
416
load(id) {
417
if
(id === resolve(DIRNAME,
'fixtures'
,
'node_modules'
,
'test'
,
'#'
,
'foo.js'
)) {
418
return
'export default "resolved with hash"'
;
419
}
420
return
null;
421
}
422
}
423
]
424
});
Callers
nothing calls this directly
Calls
1
resolve
Function · 0.50
Tested by
no test coverage detected