v1.2.0 - Environment Variables
v1.2.0 - Environment Variables
New Features
-
Added
.envfile support using the dotenv-webpack plugin for Webpack, which allows to store sensitive information (like API keys) in a file outside of the code repository.Use
process.env.YOUR_VARIABLE_NAMEin your JavaScript code to reference the variables defined in the.envfile, that is located in the root directory of your project.
Updates
- Added a dev console message to the
index.js, to test the new.envfile feature.