UNPKG

vanilla-native-federation

Version:

A lightweight **runtime micro frontend orchestrator** that loads micro frontends built with native federation into any web page. Unlike other solutions, it caches dependencies across page reloads, making it perfect for traditional server-rendered apps (PH

9 lines (8 loc) 265 B
import type { RemoteModule } from './remote-module.contract'; export type RemoteName = string; export type RemoteScope = string; export type RemoteInfo = { scopeUrl: RemoteScope; exposes: RemoteModule[]; }; export type Remotes = Record<string, RemoteInfo>;