I have 11 .env files for testing and other reasons.
Is there way I can put them in a folder and use them from there?
Such as:
You can configure the location of the .env files with the envDir config:
// vite.config.js
import { defineConfig } from 'vite'
export default defineConfig({
  envDir: './root/env-container',
})
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With