Files
Tiber365/node_modules/astro/dist/vite-plugin-astro/index.d.ts
2025-07-24 18:46:24 +02:00

13 lines
514 B
TypeScript

import type * as vite from 'vite';
import type { Logger } from '../core/logger/core.js';
import type { AstroSettings } from '../types/astro.js';
import type { PluginMetadata as AstroPluginMetadata } from './types.js';
export { getAstroMetadata } from './metadata.js';
export type { AstroPluginMetadata };
interface AstroPluginOptions {
settings: AstroSettings;
logger: Logger;
}
/** Transform .astro files for Vite */
export default function astro({ settings, logger }: AstroPluginOptions): vite.Plugin[];