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

Function isPossibleTsOutput

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

Source from the content-addressed store, hash-verified

577
578const knownTsOutputRE = /\.(?:js|mjs|cjs|jsx)$/
579const isPossibleTsOutput = (url: string): boolean => knownTsOutputRE.test(url)
580
581function tryCleanFsResolve(
582 file: string,

Callers 1

tryCleanFsResolveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected