0.0.3 • Published 4 years ago

webpack-dotenv-provider v0.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

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 = require('webpack-dotenv-provider');

and then add it to your plugins array

{
    plugins: [
        DotenvProvider()
    ]
}
0.0.3

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago