UNPKG

vike

Version:

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

15 lines (14 loc) 684 B
import '../assertEnvVite.js'; export { pluginReplaceConstantsGlobalThis }; export { VIRTUAL_FILE_ID_constantsGlobalThis }; export type _LoadDeclareGlobal__VIKE__IS = never; import type { Plugin } from 'vite'; declare global { /** Like `import.meta.env.DEV` but works for `node_modules/` packages with `ssr.external` */ var __VIKE__IS_DEV: boolean; /** Like `import.meta.env.SSR` but works for `node_modules/` packages with `ssr.external` */ var __VIKE__IS_CLIENT: boolean; var __VIKE__IS_DEBUG: boolean; } declare const VIRTUAL_FILE_ID_constantsGlobalThis = "virtual:vike:server:constantsGlobalThis"; declare function pluginReplaceConstantsGlobalThis(): Plugin[];