saleor-next-starter
saleor-next-starter copied to clipboard
Add support for different .env files
In order to make loading environment variables work with GraphQL Code Generator (see: codegen.ts
), we had to install the dotenv
dependency. Currently, it only works with .env
file which differs from the Next.js' approach (.env.local
).
Find a way to support both .env
and .env.local
.