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

Function getWindows83ShortNameForDotEnv

playground/fs-serve/root/windows83Filename.ts:16–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14}
15
16export function getWindows83ShortNameForDotEnv(): string | undefined {
17 const dotEnvPath = path.resolve(import.meta.dirname, '../root/src/.env')
18 const dotEnvWindows83ShortName = getWindows83ShortName(dotEnvPath)
19 if (dotEnvWindows83ShortName === undefined) {
20 return undefined
21 }
22 return path.basename(dotEnvWindows83ShortName)
23}

Callers 3

vite.config.jsFile · 0.90
commonTests.tsFile · 0.90

Calls 2

getWindows83ShortNameFunction · 0.85
resolveMethod · 0.65

Tested by

no test coverage detected