0.0.5 • Published 10 months ago

webpack-dotenv-provider v0.0.5

Weekly downloads
3
License
MIT
Repository
github
Last release
10 months 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.5

10 months ago

0.0.4

1 year ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago