Fork of github.com/did-method-plc/did-method-plc
1// NOTE: this file should be imported first, particularly before `@atproto/common` (for logging), to ensure that environment variables are respected in library code 2import dotenv from 'dotenv' 3 4const env = process.env.ENV 5if (env) { 6 dotenv.config({ path: `./.${env}.env` }) 7} else { 8 dotenv.config() 9}