From 4fb32b6181147f1929faff2872d2cbd7d81b7fcc Mon Sep 17 00:00:00 2001 From: Guilherme Prezzi Date: Wed, 21 Aug 2024 11:06:14 -0300 Subject: [PATCH] fix: missing export for setRemoteDefinition (#27491) ## Current Behavior It's not possible to import `setRemoteDefinition` from `@nx/angular/mf`. ## Expected Behavior Export `setRemoteDefinition` in `@nx/angular/mf` (cherry picked from commit a08e2adda643ec7e37743215f86cc8e5bfb12e81) --- packages/angular/mf/index.ts | 1 + packages/react/mf/index.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/angular/mf/index.ts b/packages/angular/mf/index.ts index 7fdf9d52a2161..ce65895e52767 100644 --- a/packages/angular/mf/index.ts +++ b/packages/angular/mf/index.ts @@ -1,5 +1,6 @@ export { setRemoteUrlResolver, setRemoteDefinitions, + setRemoteDefinition, loadRemoteModule, } from './mf'; diff --git a/packages/react/mf/index.ts b/packages/react/mf/index.ts index 189ef9f03f910..bdd706dc570dd 100644 --- a/packages/react/mf/index.ts +++ b/packages/react/mf/index.ts @@ -1,5 +1,6 @@ export { loadRemoteModule, + setRemoteDefinition, setRemoteDefinitions, setRemoteUrlResolver, } from './dynamic-federation';