From 88e139b4b3bd705d02c5870525ede1cecb48ed91 Mon Sep 17 00:00:00 2001 From: ScriptedAlchemy Date: Wed, 30 Oct 2024 22:39:46 -0700 Subject: [PATCH] chore: remove old tsignores --- .changeset/ai-sleepy-fox.md | 1 - packages/enhanced/src/lib/container/ContainerPlugin.ts | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.changeset/ai-sleepy-fox.md b/.changeset/ai-sleepy-fox.md index cf97db0608d..9fa45449f80 100644 --- a/.changeset/ai-sleepy-fox.md +++ b/.changeset/ai-sleepy-fox.md @@ -3,4 +3,3 @@ --- Use shareable runtime from federation global over custom global top levels -``` diff --git a/packages/enhanced/src/lib/container/ContainerPlugin.ts b/packages/enhanced/src/lib/container/ContainerPlugin.ts index 3e7824924f3..81b32de507f 100644 --- a/packages/enhanced/src/lib/container/ContainerPlugin.ts +++ b/packages/enhanced/src/lib/container/ContainerPlugin.ts @@ -194,6 +194,8 @@ class ContainerPlugin { const hasSingleRuntimeChunk = compilation.options?.optimization?.runtimeChunk; const hooks = FederationModulesPlugin.getCompilationHooks(compilation); + const federationRuntimeDependency = + federationRuntimePluginInstance.getDependency(compiler); const dep = new ContainerEntryDependency( name, //@ts-ignore