mirror of
https://github.com/nuxt/nuxt.git
synced 2025-01-18 17:35:57 +00:00
fix(nitro): detect NETLIFY_LOCAL
(#400)
This commit is contained in:
parent
8e5e229031
commit
4a989e9b7a
@ -67,7 +67,7 @@ export function resolvePath (nitroContext: NitroInput, path: string | ((nitroCon
|
|||||||
}
|
}
|
||||||
|
|
||||||
export function detectTarget () {
|
export function detectTarget () {
|
||||||
if (process.env.NETLIFY) {
|
if (process.env.NETLIFY || process.env.NETLIFY_LOCAL) {
|
||||||
return 'netlify'
|
return 'netlify'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user