1.0.1 • Published 2 years ago

vercel-condition-use v1.0.1

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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"
    }
  ]
}