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