How to share envs in a monorepo with vite and nextjs apps
To share environment variables between two projects in a monorepo, with specific prefixes for each project, you can create a .env.shared file with common environment variables and then use scripts to create specific .env files for each project.
Tags: monorepo, shared, envs