Skip to content

mass8326/vercenv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Loads environment variables pulled from the vercel cli

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published