Use global .env file #1676
-
Hi everyone, I'm new to Turborepo and I have troubles using .env file in my project.
There are commons env variable between next_app_1, next_app_2 and hasura used in ts files and configuration (like yml). My project works when I put an env file in each sub-folder but I prefer to have one .env file at the root folder to edit them easily. Is someone could help me ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
https://turborepo.org/blog/turbo-1-1-0#environment-variable-dependencies |
Beta Was this translation helpful? Give feedback.
-
As far as Turborepo is concerned, @EarlGeorge is correct, you can declare the "global" environment variable dependencies in Using a |
Beta Was this translation helpful? Give feedback.
https://turborepo.org/blog/turbo-1-1-0#environment-variable-dependencies