MCPcopy
hub / github.com/vitejs/vite / transform

Function transform

packages/vite/src/node/ssr/__tests__/ssrLoadModule.spec.ts:375–380  ·  view source on GitHub ↗
(code, id)

Source from the content-addressed store, hash-verified

373 }
374 },
375 transform(code, id) {
376 if (id === '\0virtual:test') {
377 fn('transform')
378 return code
379 }
380 },
381 },
382 ],
383 })

Callers

nothing calls this directly

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected