title: Nx React inject environment variables at runtime
body: <p>I have a Nx monorepo with multiple react applications.</p>
  <p>I want to be able to run the build once and then deploy the same build to multiple environments (e.g. dev, test, production).</p>
  <p>What I used to do in previous projects where I wasn't using Nx, it was to have a <code>env.js</code> file in the <code>/public</code> folder and a script tag in the head of <code>index.html</code> to get the <code>env.js</code> file.</p>
  <p>is it possible to achieve the same result with Nx?</p>