legica
This commit is contained in:
3
constants/environments.ts
Normal file
3
constants/environments.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
export const ENVIRONMENTS = ["development", "testing", "production"];
|
||||
export const ENVIRONMENT =
|
||||
ENVIRONMENTS.filter((env) => process?.argv?.includes?.(`--${env}`))?.[0] || "development";
|
||||
Reference in New Issue
Block a user