UNPKG

@reddigital/quickstart

Version:
27 lines (24 loc) 699 B
import { PluginOption } from 'vite'; interface QuickstartPluginOptions { /** * Path to the SSR entry point file * @default 'resources/js/ssr.ts' */ ssr?: string; /** * Directory for component files * @default 'resources/js/components' */ components?: string; /** * Used to detect which dependencies vite needs to optimize */ framework?: 'svelte' | 'preact' | 'vue'; /** * Output directory for the SSR bundle * @default 'build/ssr' */ ssrOutput?: string; } declare function quickstartPlugin(options?: QuickstartPluginOptions): PluginOption; export { type QuickstartPluginOptions, quickstartPlugin as default };