vercenv
v0.0.2
Published
Loads environment variables pulled from the vercel cli
Downloads
2
Readme
vercenv
A simple command line program that will load environment variables pulled from Vercel.
This is to help avoid errors during checks and tests where your code is expecting certain variables to be defined.
$ vercel env pull
$ vercenv vite build
Additionally, this allows you to run npm run dev
as normal instead of using
vercel dev
. This can be useful, for example, when starting scripts from
VSCode's GUI.
// package.json
{
"scripts": {
"dev": "vercenv vite dev"
}
}
$ npm run dev