NetlifyDeployer
The NetlifyDeployer
class handles deployment of standalone Mastra applications to Netlify. It manages configuration, deployment, and extends the base Deployer class with Netlify specific functionality.
Usage example
src/mastra/index.ts
import { Mastra } from "@mastra/core/mastra";
import { NetlifyDeployer } from "@mastra/deployer-netlify";
export const mastra = new Mastra({
// ...
deployer: new NetlifyDeployer()
});