Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/NativeScript/NativeScript
/ getDotEnvFileName
Function
getDotEnvFileName
packages/webpack5/src/helpers/dotEnv.ts:25–31 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
}
24
25
function
getDotEnvFileName(): string {
26
if
(env.env) {
27
return
`.env.${env.env}`;
28
}
29
30
return
'.env'
;
31
}
32
33
function
getDotEnvPath(): string {
34
const
dotEnvPath = resolve(getProjectRootPath(),
'.env'
);
Callers
1
getDotEnvPath
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected