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

Method transformRequest

packages/vite/src/node/server/index.ts:358–358  ·  view source on GitHub ↗

* Programmatically resolve, load and transform a URL and get the result * without going through the http request pipeline.

(
    url: string,
    options?: TransformOptions,
  )

Source from the content-addressed store, hash-verified

356 * without going through the http request pipeline.
357 */
358 transformRequest(
359 url: string,
360 options?: TransformOptions,
361 ): Promise<TransformResult | null>

Callers 8

fetchModuleFunction · 0.65
transformRequestFunction · 0.65
transformMiddlewareFunction · 0.65
indexHtml.spec.tsFile · 0.65
hooks.spec.tsFile · 0.65
hmr-ssr.spec.tsFile · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected