diff --git a/packages/config/src/load.js b/packages/config/src/load.js index 88d429a52c..d021552683 100644 --- a/packages/config/src/load.js +++ b/packages/config/src/load.js @@ -137,7 +137,7 @@ function loadEnv (envConfig, rootDir = process.cwd()) { function expand (target, source = {}, parse = v => v) { function getValue (key) { // Source value 'wins' over target value - return source[key] !== undefined ? source[key] : (target[key] || '') + return source[key] !== undefined ? source[key] : target[key] } function interpolate (value) {