vite-plugin-react-server
Version:
Vite plugin for React Server Components (RSC)
14 lines • 502 B
TypeScript
/**
* Generate a consistent content-based hash for a file
* This ensures the same file gets the same hash across all environments
*/
export declare function generateContentHash(originalFilePath: string): string;
/**
* Get the cached hash for a file if it exists
*/
export declare function getCachedHash(originalFilePath: string): string | undefined;
/**
* Clear the hash cache (useful for testing)
*/
export declare function clearHashCache(): void;
//# sourceMappingURL=hashCoordination.d.ts.map