studiocms
Version:
Astro Native CMS for AstroDB. Built from the ground up by the Astro community.
12 lines (11 loc) • 382 B
TypeScript
import type { AstroIntegration } from 'astro';
import { type RobotsConfig } from './schema.js';
/**
* **Robots.txt Integration**
*
* A simple integration to generate a `robots.txt` file for your Astro project.
*
* @param astroConfig Robots Configuration
* @returns AstroIntegration
*/
export default function createRobotsIntegration(options: RobotsConfig): AstroIntegration;