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

Function isHTMLRequest

packages/vite/src/node/plugins/html.ts:83–84  ·  view source on GitHub ↗
(request: string)

Source from the content-addressed store, hash-verified

81export const isHTMLProxy = (id: string): boolean => isHtmlProxyRE.test(id)
82
83export const isHTMLRequest = (request: string): boolean =>
84 htmlLangRE.test(request)
85
86// HTML Proxy Caches are stored by config -> filePath -> index
87export const htmlProxyMap: WeakMap<

Callers 1

handlerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected