vercel-condition-use

1.0.1 • Public • Published

Build next with custom builder

If you want to build with @vercel/next add an environement variable VERCEL_BUILD_NEXT on your vercel project

if that env is defined vercel use @vercel/next builder instead of @vercel/static-build

you should add a vercel.json file that contain :

{
  "version": 2,
  "builds": [
    {
      "src": "package.json",
      "use": "vercel-condition-use"
    }
  ]
}

Readme

Keywords

none

Package Sidebar

Install

npm i vercel-condition-use

Weekly Downloads

0

Version

1.0.1

License

ISC

Unpacked Size

894 B

Total Files

3

Last publish

Collaborators

  • benjipott