Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace instances of process.env in the webpack bundle using build-time environment variables. Environment variables can be specified in a .env file. The text replacement is performed by the `dotenv-webpack` package, a wrapper for `dotenv` and `Webpack.DefinePlugin`. SECURITY IMPLICATIONS Do not reference any environment variables that contain sensitive information. `dotenv-webpack` will expose all environment variables that are explicitly referenced in client code. We currently reference API_USER and API_PASSWORD in client code. When login is implemented these environment variables should be removed, and the password should be reset.
- Loading branch information