From ae2abfcf14dc565a7eeb47d4db13baf2e7a85a42 Mon Sep 17 00:00:00 2001 From: ScriptedAlchemy Date: Tue, 21 Jan 2025 15:07:47 -0800 Subject: [PATCH] chore: restore async boundary plugin types --- packages/sdk/src/types/plugins/ModuleFederationPlugin.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/sdk/src/types/plugins/ModuleFederationPlugin.ts b/packages/sdk/src/types/plugins/ModuleFederationPlugin.ts index 27da716902..953741f80e 100644 --- a/packages/sdk/src/types/plugins/ModuleFederationPlugin.ts +++ b/packages/sdk/src/types/plugins/ModuleFederationPlugin.ts @@ -170,6 +170,11 @@ export interface PluginDtsOptions { displayErrorInTerminal?: boolean; } +export type AsyncBoundaryOptions = { + eager?: RegExp | ((module: any) => boolean); + excludeChunk?: (chunk: any) => boolean; +}; + export interface ModuleFederationPluginOptions { /** * Modules that should be exposed by this container. When provided, property name is used as public name, otherwise public name is automatically inferred from request.