java-james / flutter_dotenv

Loads environment variables from `.env`.
https://pub.dartlang.org/packages/flutter_dotenv
MIT License
220 stars 47 forks source link

Placement of multiple .envs #103

Open alexw92 opened 6 months ago

alexw92 commented 6 months ago

Suppose I have .env.dev and .env.prod, where would i put them if I want to include only the prod env in a production bundle? The example places the .env file in assets but arent all assets part of build bundle? It would be cool if there was an example for dealing with multiple envs storing all of them in the same location. Maybe it is super obvious, in that case I am sorry to ask