Skip to content

v1.2.0 - Environment Variables

Choose a tag to compare

@noreading noreading released this 18 Nov 14:42
· 16 commits to master since this release
b13f7f3

v1.2.0 - Environment Variables

New Features

  • Added .env file 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_NAME in your JavaScript code to reference the variables defined in the .env file, that is located in the root directory of your project.

Updates

  • Added a dev console message to the index.js, to test the new .env file feature.