VercelDeployer
VercelDeployer
クラスは、スタンドアロンのMastraアプリケーションのVercelへのデプロイを処理します。設定、デプロイを管理し、Vercel固有の機能でベースのDeployerクラスを拡張します。
使用例
src/mastra/index.ts
import { Mastra } from "@mastra/core/mastra";
import { VercelDeployer } from "@mastra/deployer-vercel";
export const mastra = new Mastra({
// ...
deployer: new VercelDeployer()
});