Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
578
const
knownTsOutputRE = /\.(?:js|mjs|cjs|jsx)$/
579
const
isPossibleTsOutput = (url: string): boolean => knownTsOutputRE.test(url)
580
581
function
tryCleanFsResolve(
582
file: string,
Callers
1
tryCleanFsResolve
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected