## Current Behavior The Module Federation `NxRuntimeLibraryControlPlugin` relies on an environment variable that is set during the build/serve process. This could potentially lead to issues with cache restoration. The impact should be minimal as the runtime control plugin should only be added to the module federation config when the env var is set. It should only be set by the `module-federation-dev-server` executor which is invoked during serve - a non-cacheable task already. ## Expected Behavior Ensure the env var is set as an input to ensure maximum accuracy with module federation builds via rspack executor
{{links}}
Nx: Smart Monorepos · Fast CI
Nx is a build system, optimized for monorepos, with plugins for popular frameworks and tools and advanced CI capabilities including caching and distribution.
This package is a React plugin for Nx.
{{content}}