UNPKG

vike

Version:

The Framework *You* Control - Next.js & Nuxt alternative for unprecedented flexibility and dependability.

19 lines (18 loc) 671 B
import '../assertEnvVite.js'; export { pluginCommon }; import { type InlineConfig, type Plugin } from 'vite'; import type { VitePluginServerEntryOptions } from '@brillout/vite-plugin-server-entry/plugin'; declare module 'vite' { interface UserConfig { vitePluginServerEntry?: VitePluginServerEntryOptions; _isDev?: boolean; _rootResolvedEarly?: string; _baseViteOriginal?: string; _viteConfigFromUserResolved?: InlineConfig; _viteVersionResolved?: string; } } declare global { var __VIKE__IS_PROCESS_SHARED_WITH_VITE: undefined | true; } declare function pluginCommon(vikeVitePluginOptions: unknown): Plugin[];