@dotenv-run/core
Version:
core library to load environment variables with monorepo support
14 lines • 444 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.expand = expand;
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,
}));
});
}
//# sourceMappingURL=expand.js.map