add config module
This commit is contained in:
Generated
+454
-1132
File diff suppressed because it is too large
Load Diff
@@ -15,7 +15,7 @@ export class Env {
|
|||||||
envs.push(
|
envs.push(
|
||||||
findUpSync([`.env.${EnvironmentType.DEVELOPMENT}`, `.env.${EnvironmentType.DEV}`]),
|
findUpSync([`.env.${EnvironmentType.DEVELOPMENT}`, `.env.${EnvironmentType.DEV}`]),
|
||||||
);
|
);
|
||||||
} else if (this.isProd) {
|
} else if (this.isProd()) {
|
||||||
envs.push(
|
envs.push(
|
||||||
findUpSync([`.env.${EnvironmentType.PRODUCTION}`, `.env.${EnvironmentType.PROD}`]),
|
findUpSync([`.env.${EnvironmentType.PRODUCTION}`, `.env.${EnvironmentType.PROD}`]),
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user