Is it possible to use dot env with next export?

Viewed 21

I have a NextJS app with a NodeJS backend (azure function). The NextJS app is statically exported but is it possible to use dot-env with next export?

1 Answers

No you can't do that because .env files are ignored in all kind of build processes

Related