MCPcopy
hub / github.com/tailwindlabs/tailwindcss / idToPath

Function idToPath

packages/@tailwindcss-vite/src/index.ts:398–400  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

396}
397
398function idToPath(id: string) {
399 return path.resolve(id.replace(/\?.*$/, ''))
400}
401
402/**
403 * A Map that can generate default values for keys that don't exist.

Callers 1

generateMethod · 0.85

Calls 1

resolveMethod · 0.80

Tested by

no test coverage detected