
Currently the undecorated-classes-with-di migration leverages NGC in order to work with metadata resolution. Since NGC by default tries to resolve referenced resources on initialization of the underlying TS program, it can result in unexpected migration failures due to missing resource files. This is especially an issue since the CLI wraps the `AngularCompilerProgram` with special logic (i.e. to support SCSS preprocessing etc.). We don't have all of this since we instantiate a vanilla NGC program. The solution to the problem is to simply treat resource requests as valid, and returning a fake content. The migration is not dependent on templates or stylesheets.. so it's the simplest and most robust solution. Fixes #32826 PR Close #32953
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%