All the env vars shared across microfrontend projects using turborepo

Do all the environment variables need to be shared between projects using turborepo?

I have over 40 environment variables in the project and duplicating them and keeping them in sync across multiple microfrontend projects using turborepo will be a big problem

Hi,

if your projects multiple project requires same Environment variable, then you will indeed need to add it. The easiest way you can do is to add them as Shared environment variables.

If you are using Turborepo 2.x, you will also need to define it in turbo.json Using environment variables | Turborepo