7503e3540dce998da6cb4695938045b2d7190b94

ec4381d
enabled Ivy by default. This is problematic as migrations like `static-queries` depend on the `AngularCompilerProgram` (NGC) in order to perform the migration from version 7 to version 8. In order to ensure that the migration always runs with NGC (and doesn't get the `NgtscProgram`), we need to explicitly disable ivy when creating the `@angular/compiler-cli` program for the migration. This code is still relevant even though the update from version 7 to version 8 landed. Developers can run `ng update` from version 7 and immediately get to version 9 where Ivy is enabled by default (and in that case we need to ensure that ngtsc is not accidentally used). Similar toe5636a322c
. PR Close #32954
Angular
Angular is a development platform for building mobile and desktop web applications using TypeScript/JavaScript and other languages.
Quickstart
Changelog
Learn about the latest improvements.
Want to help?
Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.
Description
Languages
TypeScript
86.3%
JavaScript
8.5%
HTML
1.8%
Starlark
1.7%
CSS
1%
Other
0.6%