Skip to content

Suggestion: Convert this to a Vercel Runtime package #1

@TooTallNate

Description

@TooTallNate

Currently this repo provides a script that is invoked as part of the Project's Build script to compile an individual endpoint to the Build Output API.

It would be a better fit into the Vercel model to instead have this repo conform to the Runtime API. This would allow for the endpoints within the api directory to be configured to use this Runtime and vc build would automatically download + invoke this Runtime when the project is configured to do so. Example:

// in `vercel.json`
{
  "functions": {
    "api/*.ts": {
      "runtime": "vercel-bun@0.0.1"
    }
  }
}

You could see the Deno Runtime (or any of the other repos in this vercel-community org) for inspiration on implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions