13 lines
515 B
Plaintext
13 lines
515 B
Plaintext
|
import type * as vite from 'vite';
|
||
|
import type { AstroSettings } from '../@types/astro.js';
|
||
|
import type { Logger } from '../core/logger/core.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[];
|