mirror of
https://github.com/mastra-ai/mastra.git
synced 2026-11-17 08:44:46 +00:00
|
History
|
||
|---|---|---|
| .. | ||
| src | ||
| CHANGELOG.md | ||
| lint-staged.config.js | ||
| package.json | ||
| README.md | ||
| tsconfig.build.json | ||
| tsconfig.json | ||
| tsdown.config.ts | ||
| turbo.json | ||
| vitest.config.ts | ||
@mastra/deployer-vercel
The VercelDeployer bundles your Mastra server and generates output conforming to Vercel's Build Output API.
Installation
npm install @mastra/deployer-vercel
Usage
The Vercel deployer is used as part of the Mastra framework:
import { Mastra } from '@mastra/core/mastra';
import { VercelDeployer } from '@mastra/deployer-vercel';
const deployer = new VercelDeployer({
// Optional per-function overrides (written to .vc-config.json)
maxDuration: 600,
memory: 1536,
regions: ['sfo1', 'iad1'],
});
const mastra = new Mastra({
deployer,
// ... other Mastra configuration options
});
Documentation
Changelog
See the package changelog for version history and release notes.
Support
We have an open community Discord. Come and say hello and let us know if you have any questions or need any help getting things running.