UNPKG

vike

Version:

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

19 lines (18 loc) 889 B
export { transpileAndExecuteFile }; export { getConfigBuildErrorFormatted }; export { getConfigExecutionErrorIntroMsg }; export { isTemporaryBuildFile }; export type { EsbuildCache }; import type { FilePathResolved } from '../../../../../../shared/page-configs/FilePath.js'; type FileExports = { fileExports: Record<string, unknown>; }; type EsbuildCache = { transpileCache: Record<string, // filePathAbsoluteFilesystem Promise<FileExports>>; vikeConfigDependencies: Set<string>; }; declare function transpileAndExecuteFile(filePath: FilePathResolved, userRootDir: string, isExtensionConfig: boolean, esbuildCache: EsbuildCache): Promise<FileExports>; declare function getConfigBuildErrorFormatted(err: unknown): null | string; declare function getConfigExecutionErrorIntroMsg(err: unknown): string | null; declare function isTemporaryBuildFile(filePath: string): boolean;