UNPKG

@esmx/rspack

Version:

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

15 lines (14 loc) 627 B
import type { Compiler, StatsCompilation } from '@rspack/core'; import type { ManifestJsonExports, ParsedModuleLinkPluginOptions } from './types'; export declare const RSPACK_PLUGIN_NAME = "rspack-module-link-plugin"; export declare class ManifestPlugin { private opts; constructor(opts: ParsedModuleLinkPluginOptions); apply(compiler: Compiler): void; } export declare function getExports(opts: ParsedModuleLinkPluginOptions, stats: StatsCompilation): ManifestJsonExports; export declare function generateIdentifier({ root, name, filePath }: { root: string; name: string; filePath: string; }): string;