DEV Community

Alexander6
Alexander6

Posted on

(help)Deploy Nest.js Application to Vercel

  • Such a puzzle trip.
  • If you are also trapped in the issue that deploying Nest.js App to Vercel, you can just refer to this Video

  • I have searched and tried many other articles for a whole day, and all of them didn't help a little, and I also looked through Vercel's documents 2-3 times, I am still in the puzzle now.

  • Even if I successfully deployed it, I also don't know what this configuration means
    Image description

  • is anyone know how can I get a deep understanding of how Vercel works?

  1. why putting main.ts file here, does it mean that in the production, it directly executes the ts file instead of running the compiled main.js?
    • if the answer is yes, it seems we don't need to run nest build in Vercel.
    • if the answer is no, what Vercel did to main.ts then?

Top comments (0)