vike
Version:
(Replaces Next.js/Nuxt) 🔨 Composable framework to build advanced applications with flexibility and stability.
17 lines (16 loc) • 830 B
TypeScript
export { pluginReplaceConstantsGlobalThis };
export { VIRTUAL_FILE_ID_constantsGlobalThis };
export type _LoadDeclareGlobal__VIKE__IS = never;
import type { Plugin } from 'vite';
import '../assertEnvVite.js';
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;
/** Whether the code is processed by Vite, e.g. `true` when server code is `ssr.noExternal` */
var __VIKE__NO_EXTERNAL: true | undefined;
}
declare const VIRTUAL_FILE_ID_constantsGlobalThis = "virtual:vike:server:constantsGlobalThis";
declare function pluginReplaceConstantsGlobalThis(): Plugin[];