10 lines
221 B
JavaScript
10 lines
221 B
JavaScript
|
|
const DotEnv = require('dotenv')
|
|
const parsedEnv = DotEnv.config({ path: `.env.${process.env.NODE_ENV}` }).parsed
|
|
|
|
module.exports = function () {
|
|
console.log(process.env)
|
|
console.log(parsedEnv);
|
|
return parsedEnv
|
|
}
|