MCPcopy
hub / github.com/claude-code-best/claude-code / load

Function load

vite.config.ts:54–60  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

52 return null
53 },
54 load(id) {
55 if (extensions.some(ext => id.endsWith(ext))) {
56 const content = readFileSync(id, 'utf-8')
57 return `export default ${JSON.stringify(content)}`
58 }
59 return null
60 },
61 }
62}
63

Callers

nothing calls this directly

Calls 1

readFileSyncFunction · 0.90

Tested by

no test coverage detected