SolidJSS
SolidJSβ€’3y agoβ€’
14 replies
Mathieu

How to share .env files among NPM Workspaces?

.env
files are read from a workspace root folder (e.g. /packages/foo-app/.env), but the
.env
files are not read from the root of the npm workspaces.
This leads me to duplicate the
.env
files for every workspace, or to have some hacky copy script.
How can I have just one set of
.env
files for all workspaces?
Was this page helpful?