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

Function isExcludedUrl

packages/vite/src/node/plugins/html.ts:424–425  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

422 const processedHtml = perEnvironmentState(() => new Map<string, string>())
423
424 const isExcludedUrl = (url: string) =>
425 url[0] === '#' || isExternalUrl(url) || isDataUrl(url)
426
427 // Same reason with `htmlInlineProxyPlugin`
428 isAsyncScriptMap.set(config, new Map())

Callers 1

handlerFunction · 0.85

Calls 2

isExternalUrlFunction · 0.90
isDataUrlFunction · 0.90

Tested by

no test coverage detected