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

Function resolveFile

packages/vite/src/node/__tests__/utils.spec.ts:763–765  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

761describe('combineSourcemaps', () => {
762 const _dirname = path.dirname(fileURLToPath(import.meta.url))
763 const resolveFile = (file: string) => {
764 return normalizePath(path.resolve(_dirname, file))
765 }
766
767 test('should combine sourcemaps with single sources', () => {
768 const sourcemaps = [

Callers 1

utils.spec.tsFile · 0.85

Calls 2

normalizePathFunction · 0.90
resolveMethod · 0.65

Tested by

no test coverage detected