refactor(migrations): update module output, drop dynamic import helper#17184
Merged
damyanpetev merged 1 commit intosstoychev/fix-migrations-ng21from Apr 16, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Refactors the Ignite UI for Angular schematics/migrations build output to support native dynamic imports, removing the legacy nativeImport helper and switching TS module output to node16.
Changes:
- Switch
projects/igniteui-angular/{schematics,migrations}/tsconfig.jsonfromcommonjstonode16. - Replace
nativeImport('@angular/compiler')with nativeawait import('@angular/compiler')across multiple migration entrypoints. - Remove the obsolete
migrations/common/import-helper.js.
Reviewed changes
Copilot reviewed 14 out of 14 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| projects/igniteui-angular/schematics/tsconfig.json | Updates TS module emit to node16 for schematics build output. |
| projects/igniteui-angular/migrations/tsconfig.json | Updates TS module emit to node16 for migrations build output. |
| projects/igniteui-angular/migrations/common/import-helper.js | Removes the legacy dynamic import helper. |
| projects/igniteui-angular/migrations/update-20_0_6/index.ts | Drops helper usage and uses native dynamic import for @angular/compiler. |
| projects/igniteui-angular/migrations/update-18_0_0/index.ts | Drops helper usage and uses native dynamic import for @angular/compiler. |
| projects/igniteui-angular/migrations/update-17_1_0/index.ts | Drops helper usage and uses native dynamic import for @angular/compiler. |
| projects/igniteui-angular/migrations/update-17_0_0/index.ts | Drops helper usage and uses native dynamic import for @angular/compiler. |
| projects/igniteui-angular/migrations/update-16_1_0/index.ts | Drops helper usage and uses native dynamic import for @angular/compiler. |
| projects/igniteui-angular/migrations/update-15_1_0/index.ts | Drops helper usage and uses native dynamic import for @angular/compiler. |
| projects/igniteui-angular/migrations/update-13_1_0/index.ts | Drops helper usage and uses native dynamic import for @angular/compiler. |
| projects/igniteui-angular/migrations/update-13_0_0/index.ts | Drops helper usage and uses native dynamic import for @angular/compiler. |
| projects/igniteui-angular/migrations/update-12_1_0/index.ts | Drops helper usage and uses native dynamic import for @angular/compiler. |
| projects/igniteui-angular/migrations/update-12_0_0/index.ts | Drops helper usage and uses native dynamic import for @angular/compiler. |
| projects/igniteui-angular/migrations/update-11_0_0/index.ts | Drops helper usage and uses native dynamic import for @angular/compiler. |
9874086 to
b4a7c43
Compare
15986c6 to
0f443c6
Compare
0f443c6 to
6dc3099
Compare
damyanpetev
added a commit
that referenced
this pull request
Apr 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #
Additional information (check all that apply):
Checklist:
feature/README.MDupdates for the feature docsREADME.MDCHANGELOG.MDupdates for newly added functionalityng updatemigrations for the breaking changes (migrations guidelines)