amondnet / amondnet/vercel-action

Let the Vercel CLI do the build

Aperta
#123 4 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
765
Fork
116
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

[As per the Vercel CLI docs as of March 2022](https://vercel.com/docs/cli#project-configuration), it is no longer recommended to provide the `builds` field ourselves. Instead, the `functions` field should be used, but only when a Serverless Function is due to be deployed. For all other cases, the Vercel CLI should handle the build by itself, given that it knows what steps to run based on the project id (or at least this is what I understand by reading the docs, someone please correct me if I'm wrong).

Whatever the case, it's clear that `builds` and `routes` should not be used anymore:

Vercel CLI docs screenshot

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.