MCPcopy
hub / github.com/rollup/rollup / load

Function load

test/cli/samples/config-import-meta/plugin/plugin.js:25–29  ·  view source on GitHub ↗
(loadedId)

Source from the content-addressed store, hash-verified

23 }
24 },
25 load(loadedId) {
26 if (loadedId === id) {
27 return `export default '${readFileSync(resolve(__dirname, fileName), 'utf8')}';`;
28 }
29 }
30});

Callers

nothing calls this directly

Calls 1

resolveFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…