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

Function resolveComponentPath

packages/vite/src/node/plugin.ts:23–31  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

21 }
22 },
23 resolveComponentPath(path: string): string {
24 for (let m of modules) {
25 const new_path = m?.resolveComponentPath(path);
26 if (new_path) {
27 return new_path;
28 }
29 }
30 return "";
31 },
32 async editEntryFile(id: string, code: string) {
33 for (let m of modules) {
34 const new_code = await m?.editEntryFile(id, code);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected