This plugin generates Vercel Build Output API v3 for Gatsby v4+ projects.
The Vercel platform automatically injects this plugin for you if it can detect Gatsby v4+ in your project's package.json
dependencies. If detected, you will see a log message in your project's build logs as follows:
Injecting Gatsby.js plugin "@vercel/gatsby-plugin-vercel-builder" to package.json
If auto-detection is not working, this plugin can also be installed and used manually:
npm install @vercel/gatsby-plugin-vercel-builder
- Add
'@vercel/gatsby-plugin-vercel-builder'
to yourgatsby-config.(t|j)s
file, such as:
module.exports = {
plugins: ['@vercel/gatsby-plugin-vercel-builder'],
};
- 🚀 Ship It 🎉