text: const dotenv = require('dotenv');
  
  const files = {
    ...dotenv.config({ path: 'variables/.env' }).parsed,
    ...dotenv.config({ path: `variables/.env.${process.env.ENVIRONMENT}` }).parsed,
    ...dotenv.config({ path: `variables/.env.${process.env.ENVIRONMENT}.local` }).parsed,
  };
  
  module.exports = function () {
    Object.keys(files, (key) => {
      if (typeof files[key] !== 'string') {
        files[key] = JSON.stringify(files[key]);
      }
    });
    return files;
  };
  