Created by: eliperelman
This enables users to specify custom environment variables under a REACT_APP_*
namespace. To verify it works, I ran the start script via:
REACT_APP_TITLE="Env-enabled React" npm start
And changed the <h2>
in src/App.js:
<h2>Welcome to {process.env.REACT_APP_TITLE}</h2>
Which rendered: