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

Function resolveUrl

packages/vite/src/node/plugins/css.ts:375–376  ·  view source on GitHub ↗
(url: string, importer?: string)

Source from the content-addressed store, hash-verified

373 async handler(raw, id) {
374 const { environment } = this
375 const resolveUrl = (url: string, importer?: string) =>
376 idResolver(environment, url, importer)
377
378 const urlResolver: CssUrlResolver = async (url, importer) => {
379 const decodedUrl = decodeURI(url)

Callers 1

urlResolverFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected