0.0.2 • Published 8 months ago
vercenv v0.0.2
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