@medusajs/utils
Version:
Medusa utilities functions shared by Medusa core and Modules
17 lines • 583 B
TypeScript
/**
* Loads ".env" file based upon the environment in which the
* app is running.
*
* - Loads ".env" file by default.
* - Loads ".env.staging" when "environment=staging".
* - Loads ".env.production" when "environment=production".
* - Loads ".env.test" when "environment=test".
*
* The ".env" file is always loaded alongside the environment
* specific .env file.
*
* This method does not return any value and updates the "process.env"
* object instead.
*/
export declare function loadEnv(environment: string, envDir: string): void;
//# sourceMappingURL=load-env.d.ts.map