Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion: Convert this to a Vercel Runtime package #1

Open
TooTallNate opened this issue Sep 15, 2023 · 0 comments
Open

Suggestion: Convert this to a Vercel Runtime package #1

TooTallNate opened this issue Sep 15, 2023 · 0 comments

Comments

@TooTallNate
Copy link

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": "[email protected]"
    }
  }
}

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant