UNPKG

vanilla-native-federation

Version:

A lightweight **runtime micro frontend orchestrator** that loads micro frontends built with native federation into any web page. It can cache dependencies across page reloads, making it perfect for traditional server-rendered hosts (PHP, Java, Rails, etc.

20 lines (19 loc) 584 B
export type ModeProfileConfig = { latestSharedExternal: boolean; overrideCachedRemotes: 'always' | 'never' | 'init-only'; overrideCachedRemotesIfURLMatches: boolean; }; export type ModeStrictnessConfig = { strictRemoteEntry: boolean; strictExternalCompatibility: boolean; strictExternalVersion: boolean; strictImportMap: boolean; }; export type ModeConfig = { strict: ModeStrictnessConfig; profile: ModeProfileConfig; }; export type ModeOptions = { strict?: Partial<ModeStrictnessConfig> | boolean; profile?: Partial<ModeProfileConfig>; };