import { Module } from "@nestjs/common";
import { ConfigModule } from '@nestjs/config';
import dotenv from 'dotenv';

@Module({
  imports: [
    ConfigModule.forRoot({
      isGlobal: true,
      envFilePath: [
        `.env.${process.env.NODE_ENV}`,
        '.env.common'
      ]
    })
  ]
})
export class AppConfigModule{}
