12 lines
519 B
TypeScript
12 lines
519 B
TypeScript
import type * as vite from 'vite';
|
|
import type { AstroSettings } from '../@types/astro';
|
|
import type { LogOptions } from '../core/logger/core.js';
|
|
import type { PluginMetadata as AstroPluginMetadata } from './types';
|
|
export { getAstroMetadata } from './metadata.js';
|
|
export type { AstroPluginMetadata };
|
|
interface AstroPluginOptions {
|
|
settings: AstroSettings;
|
|
logging: LogOptions;
|
|
}
|
|
/** Transform .astro files for Vite */
|
|
export default function astro({ settings, logging }: AstroPluginOptions): vite.Plugin[];
|