MCPcopy 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
25function getDotEnvFileName(): string {
26 if (env.env) {
27 return `.env.${env.env}`;
28 }
29
30 return '.env';
31}
32
33function getDotEnvPath(): string {
34 const dotEnvPath = resolve(getProjectRootPath(), '.env');

Callers 1

getDotEnvPathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected