Closed michael closed 8 years ago
We just want to be able to do:
var config = require('../config');
In Mail.js
var sender = config.mailSender var mailgunCredentials = { user: config.mailgunUser, pass: config.mailgunPassword };
In config.js
module.exports = { mailgunUser: process.env.MAILGUN_USER, ... };
Done via npm config.
We just want to be able to do:
In Mail.js
In config.js