UNPKG

astro

Version:

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

10 lines (9 loc) 476 B
import type { Plugin } from 'vite'; import { type BuildInternals } from './internal.js'; /** * Vite plugin that tracks emitted assets and handles cleanup of manifest files. * This plugin coordinates with emitClientAsset() to track which assets should * be moved to the client directory. The resolved filenames are stored in * BuildInternals.ssrAssetsPerEnvironment during generateBundle. */ export declare function vitePluginSSRAssets(internals: BuildInternals): Plugin;