MCPcopy Create free account
hub / github.com/Aslemammad/venode / transformDep

Function transformDep

venode/src/cli.ts:213–221  ·  view source on GitHub ↗
(dep: string, node: ViteNodeServer)

Source from the content-addressed store, hash-verified

211})().finally(() => process.exit(errorCode));
212
213async function transformDep(dep: string, node: ViteNodeServer): Promise<void> {
214 const deps = (await node.transformRequest(dep))?.deps;
215 if (!deps || !deps.length) {
216 return;
217 }
218 for (const dep of deps) {
219 await transformDep(dep, node);
220 }
221}
222
223async function copyVendor(originalId: string, id: string, vendorPath: string) {
224 try {

Callers 1

cli.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected