Angular v21 NgModuleFactory Migration
Automates the removal of deprecated NgModuleFactory usage in Angular v21 applications to modernize dynamic module loading.
The Angular v21 NgModuleFactory Removal skill is designed to assist developers in upgrading their projects to Angular 21 by identifying and replacing deprecated NgModuleFactory implementations. It specifically targets legacy plugin systems, dynamic module loaders, and manual factory-based creation that are no longer supported in the latest Angular release. By transitioning to modern, supported APIs, this skill ensures application stability, reduces technical debt, and maintains functional dynamic loading behavior during the version migration process.
主要功能
01Replaces deprecated factory-based creation with supported Angular v21 APIs.
022 GitHub stars
03Ensures compatibility with Angular v21's strict module loading requirements.
04Identifies legacy NgModuleFactory references and legacy loaders in TypeScript code.
05Provides a detailed summary of API replacements and structural changes.
06Validates dynamic module loading logic post-migration to prevent runtime errors.
使用场景
01Cleaning up technical debt in legacy projects that use deprecated dynamic loading patterns.
02Upgrading enterprise Angular applications from version 20 to version 21.
03Refactoring custom plugin architectures that rely on manual factory-based module loading.