IOweb/node_modules/astro/dist/vite-plugin-static-paths/index.d.ts
2026-07-03 15:07:38 -05:00

9 lines
372 B
TypeScript

import type { Plugin } from 'vite';
/**
* Virtual module that exposes StaticPaths class for prerendering.
* This allows adapters to use StaticPaths from their runtime (e.g., workerd)
* to collect all prerenderable paths.
*
* Only works in the 'prerender' environment - returns no-op in other environments.
*/
export default function vitePluginStaticPaths(): Plugin;