mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e4bfa5c9e7
The common-to-standalone migration did not check for existing imports
when adding needed imports after removing CommonModule. This change adds deduplication
logic to filter out imports that already exist in the imports array
before adding them, ensuring each import appears only once.
(cherry picked from commit 008e20ca56)