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

Function addToHTMLProxyTransformResult

packages/vite/src/node/plugins/html.ts:154–159  ·  view source on GitHub ↗
(
  hash: string,
  code: string,
)

Source from the content-addressed store, hash-verified

152}
153
154export function addToHTMLProxyTransformResult(
155 hash: string,
156 code: string,
157): void {
158 htmlProxyResult.set(hash, code)
159}
160
161// Some `<link rel>` elements should not be inlined in build. Excluding:
162// - `shortcut` : only valid for IE <9, use `icon`

Callers 1

handlerFunction · 0.90

Calls 1

setMethod · 0.45

Tested by

no test coverage detected