title: NextJS - Set dynamic environment variables at the start of the application
body: <p>In our implementation process we created a single building and went through the different stages (integration, staging and production). In each of the environments, we have variable environmental differences.</p>
  
  <p>The problem is that when we started the server it only referred to the environment variables on the server, but in the client the process.env file is empty.</p>
  
  <p>stack: "next": "5.0.0" "babel-plugin-inline-dotenv": "1.1.1",</p>
  
  <p>for load .env file is used "inline-dotenv"</p>