xian-ncc-da-client/EnvParse.js
2023-10-17 10:55:28 +08:00

12 lines
301 B
JavaScript

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