dotenv-webpack
Advanced tools
Comparing version 1.5.0 to 1.5.1
@@ -72,3 +72,3 @@ 'use strict'; | ||
Object.keys(blueprint).map(function (key) { | ||
var value = env[key]; | ||
var value = env[key] || env[key] === '' ? env[key] : vars[key]; | ||
if (!value && options.safe) { | ||
@@ -75,0 +75,0 @@ throw new Error('Missing environment variable: ' + key); |
{ | ||
"name": "dotenv-webpack", | ||
"description": "A simple webpack plugin to support dotenv.", | ||
"version": "1.5.0", | ||
"version": "1.5.1", | ||
"main": "index.js", | ||
@@ -53,3 +53,3 @@ "scripts": { | ||
"babel-register": "^6.24.1", | ||
"chai": "^3.5.0", | ||
"chai": "^4.0.0", | ||
"esdoc": "^0.5.2", | ||
@@ -56,0 +56,0 @@ "ghooks": "^2.0.0", |
@@ -91,2 +91,3 @@ # dotenv-webpack | ||
* **systemvars** (`false`) - Set to true if you would rather load all system variables as well (useful for CI purposes). | ||
* **silent** (`false`) - If true, all warnings will be surpressed. | ||
@@ -93,0 +94,0 @@ ### LICENSE |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11573
96