@dotenv-run/core
Version:
core library to load environment variables with monorepo support
15 lines • 469 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.expand = void 0;
const dotenv_1 = require("dotenv");
const dotenv_expand_1 = require("dotenv-expand");
function expand(envPaths, dotenvConfig) {
envPaths.forEach((dotenvFile) => {
(0, dotenv_expand_1.expand)((0, dotenv_1.config)({
path: dotenvFile,
...dotenvConfig,
}));
});
}
exports.expand = expand;
//# sourceMappingURL=expand.js.map