mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 05:35:13 +00:00
fix vercel env detection
This commit is contained in:
parent
3fa6717882
commit
10c306aee0
@ -57,7 +57,7 @@ export function detectTarget () {
|
|||||||
return 'netlify'
|
return 'netlify'
|
||||||
}
|
}
|
||||||
|
|
||||||
if (process.env.VERCEL_URL) {
|
if (process.env.NOW_BUILDER) {
|
||||||
return 'vercel'
|
return 'vercel'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user