UNPKG

astro

Version:

Astro is a modern site builder with web best practices, performance, and DX front-of-mind.

7 lines (6 loc) 308 B
import { type Plugin as VitePlugin } from 'vite'; import type { AstroSettings } from '../types/astro.js'; /** Returns a Vite plugin used to alias paths from tsconfig.json and jsconfig.json. */ export default function configAliasVitePlugin({ settings, }: { settings: AstroSettings; }): VitePlugin | null;