Closed fernandocanizo closed 9 months ago
File vitest.config.mts is the only place where dotenv is used and this is the code excerpt:
vitest.config.mts
dotenv
let env = dotenv.parse( fs.readFileSync(path.resolve(process.cwd(), ".env.example")), );
As you can see, it has hardcoded the file to .env.example instead of reading from .env.
.env.example
.env
Hey @fernandocanizo, as mentioned in #170, vitest.config.mts is for the testing framework, it's no the same thing as vite.config.mts, so it's fine that it's appropriate that it uses .env.example
vite.config.mts
File
vitest.config.mts
is the only place wheredotenv
is used and this is the code excerpt:As you can see, it has hardcoded the file to
.env.example
instead of reading from.env
.