Importing only config also works, no need to import the entire "dotenv"
config
import { config } from "dotenv"; config();