logtail / logtail-nextjs

Better Stack Next.js client
https://betterstack.com/logs
MIT License
4 stars 3 forks source link

L-1016 By default, don't check ENV vars in Vercel preview/development env #14

Closed PetrHeinz closed 11 months ago

PetrHeinz commented 11 months ago

Resolves #6 when building project via vercel build by not running the ENV var check when VERCEL_ENV is either development or preview (similarly to #12).

(Also prevents build warning in example project.)