Nx
Enterprise
Nx
refactor(module-federation): consolidate getModuleFederationConfig implementations Extract shared module federation config logic into a single utility, eliminating ~330 lines of duplicate code across webpack, rspack, and angular bundler utils. Changes: - Create utils/module-federation-config.ts with core shared logic - Add FrameworkConfig interface for bundler-specific customization - Export getModuleFederationConfigAsync and getModuleFederationConfigSync - Export createDefaultRemoteUrlResolver for remote URL generation - Add caching for NX_MF_DEV_SERVER_STATIC_REMOTES env variable parsing - Refactor webpack/utils.ts: 161 -> 54 lines - Refactor rspack/utils.ts: 150 -> 51 lines - Refactor angular/utils.ts: 273 -> 119 lines All existing exports and behavior preserved for backward compatibility.
nx-cloud record -- nx-cloud conformance:check
Sign in / Sign up
Open main menu
Succeeded
CI Pipeline Execution
nx-cloud record -- nx-cloud conformance:check
Click to copy
Linux
4 CPU cores
c8351697
33735