Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/rollup/rollup
/ load
Function
load
test/function/samples/custom-loaders/_config.js:8–12 ·
view source on GitHub ↗
(id)
Source
from the content-addressed store, hash-verified
6
plugins: [
7
{
8
load(id) {
9
if
(/foo\.js/.test(id)) {
10
return
readFileSync(id,
'utf8'
).replace(
'@'
, 1);
11
}
12
}
13
},
14
{
15
load(id) {
Callers
nothing calls this directly
Calls
1
test
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…