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

Method transformIndexHtml

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

* Apply vite built-in HTML transforms and any plugin HTML transforms.

(
    url: string,
    html: string,
    originalUrl?: string,
  )

Source from the content-addressed store, hash-verified

369 * Apply vite built-in HTML transforms and any plugin HTML transforms.
370 */
371 transformIndexHtml(
372 url: string,
373 html: string,
374 originalUrl?: string,

Callers 14

warmupFileFunction · 0.80
indexHtmlMiddlewareFunction · 0.80
indexHtml.spec.tsFile · 0.80
hooks.spec.tsFile · 0.80
importHtmlFunction · 0.80
createServerFunction · 0.80
createServerFunction · 0.80
createServerFunction · 0.80
createServerFunction · 0.80
createServerFunction · 0.80
createServerFunction · 0.80
createServerFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected