mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
parent
6cbcd59d4e
commit
618eb5fad0
@ -137,7 +137,7 @@ function loadEnv (envConfig, rootDir = process.cwd()) {
|
|||||||
function expand (target, source = {}, parse = v => v) {
|
function expand (target, source = {}, parse = v => v) {
|
||||||
function getValue (key) {
|
function getValue (key) {
|
||||||
// Source value 'wins' over target value
|
// 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) {
|
function interpolate (value) {
|
||||||
|
Loading…
Reference in New Issue
Block a user