Adapters
Applies to
Native Federation is bundler-agnostic. Adapters bridge the
core builder to a specific bundler or
framework by implementing the NFBuildAdapter contract.
Available Adapters
-
Angular
— first-class support via
@angular-architects/native-federation, including a builder, schematics and an Nx generator that hook into the Angular CLI. Documented in its own Angular Adapter section. -
esbuild — a thin,
framework-agnostic adapter used by the React reference example,
published as
@softarc/native-federation-esbuild.
Community Adapters
- Vite plugin — community-maintained Vite integration by Giorgio Boa.
You can also write your own adapter. An adapter is a single object
implementing NFBuildAdapter — see
Build Adapters for the
contract.