UNPKG

@esmx/rspack

Version:

A high-performance Rspack integration for Esmx microfrontend framework, providing Module Linking and SSR capabilities.

10 lines (9 loc) 448 B
import type { Esmx, ManifestJson } from '@esmx/core'; export declare function pack(esmx: Esmx): Promise<boolean>; export interface GenerateExportsOptions { client: ManifestJson['exports']; server: ManifestJson['exports']; base?: Record<string, unknown>; } export declare function generateExports(options: GenerateExportsOptions): Record<string, unknown>; export declare function contentHash(buffer: Buffer, algorithm?: string): string;