webpack-dotenv-provider
Webpack plugin to include .env file into your bundle. It uses dotenv to parse .env file.
Installation
npm
npm install --save-dev webpack-dotenv-provider
yarn
yarn add --dev webpack-dotenv-provider
Usage
In your webpack configuration file, you should first require this package;
const DotenvProvider = ;
and then add it to your plugins array
plugins: