MCPcopy
hub / github.com/rolldown/tsdown / handler

Function handler

tests/e2e.test.ts:14–17  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

12 load: {
13 filter: { id: RE_NODE_MODULES },
14 handler(id) {
15 const name = slash(id).split('/node_modules/').at(-1)!.split('/')[0]
16 return `export const ${name} = 42`
17 },
18 },
19}
20

Callers

nothing calls this directly

Calls 1

slashFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…