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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    3
  • 1.0.0
    1

Package Sidebar

Install

npm i vercel-condition-use

Weekly Downloads

4

Version

1.0.1

License

ISC

Unpacked Size

894 B

Total Files

3

Last publish

Collaborators

  • benjipott