nullstack-adapt-vercel

0.0.3 • Public • Published

nullstack-adapter-vercel

Generate build files compatible with Vercel using Build Output API

How to use

This script should run after the Nullstack produces it's normal builds, for example:

"scripts": {
  "build": "nullstack build",
  "vercel-build": "npm run build && npx nullstack-adapt-vercel"
}

Then it will generate the .vercel/output folder using .production and public accordingly to Vercel Build Output API allowing to deploy seamlessly (e.g. running vercel from Vercel CLI)

💡 vercel-build is the default script that Vercel itself runs when deploying, perfect to execute a script like this only there 🚀

Readme

Keywords

Package Sidebar

Install

npm i nullstack-adapt-vercel

Weekly Downloads

51

Version

0.0.3

License

MIT

Unpacked Size

2.75 kB

Total Files

3

Last publish

Collaborators

  • guidevloper