@reddigital/quickstart
Version:
Frontend island architecture for Adonisjs
27 lines (24 loc) • 699 B
TypeScript
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 };