@pkgr/es-modules
Version:
Union collections of es modules mappings for pkgs without or with incorrect `module` field
12 lines (11 loc) • 353 B
TypeScript
export type ModuleDefinition = string | {
target: string;
exact?: boolean;
};
export type ModuleDefinitions = Record<string, ModuleDefinition>;
export declare const MODULE_DEFINITIONS: ModuleDefinitions;
export declare const entries: {
find: RegExp | string;
replacement: string;
}[];
export declare const alias: Record<string, string>;