MCPcopy Create free account
hub / github.com/Borrus-sudo/tinypages / resolveId

Function resolveId

packages/vite/src/node/plugins/dev/markdown-dev.ts:139–143  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

137 },
138 },
139 resolveId(id: string) {
140 if (virtualModuleMap.has(id)) {
141 return id;
142 }
143 },
144 load(id: string) {
145 if (virtualModuleMap.has(id)) {
146 return virtualModuleMap.get(id);

Callers

nothing calls this directly

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected