import { Plugin } from "vite"; //#region src/vite/index.d.ts declare function vikeLite({ pagesDir, apiPrefix, prerender, serverEntry, analizeDependencies }?: { /** * The directory where your page components are located. * This is where the plugin will look for your page files to generate routes. * @default 'pages' */ pagesDir?: string; /** * The prefix for your API routes. * @default '/api' */ apiPrefix?: string; /** * Whether to prerender the pages by default. * Individual pages can override this via +prerender.ts. * @default false */ prerender?: boolean; /** * The entry point for your server application code. * This is where you can define custom server logic, such as API routes or middleware. * The build will produce dist/server/index.mjs, which is the entry point for your server application. * If false disable the server entry. * @default undefined */ serverEntry?: string | false; /** * Whether to print, at the end of the production build, a table cross-referencing * every package.json dependency (dependencies/devDependencies/peerDependencies) * with whether it was actually bundled/externalized by the client and/or server * build, plus a suggested fix when something looks misplaced or unused (e.g. a * devDependency required at runtime, which would break `npm ci --omit=dev`). * Useful to audit bundle composition and catch production-breaking dependency * mistakes, but adds console output on every production build, so it's disabled * by default. * @default false */ analizeDependencies?: boolean; }): Plugin; //#endregion export { vikeLite as default };