Files
Alex Rickabaugh f630f331de fix(compiler-cli): show a more specific error for Ivy NgModules (#41534) (#41598)
When an Ivy NgModule is imported into a View Engine build, it doesn't have
metadata.json files that describe it as an NgModule, so it appears to VE
builds as a plain, undecorated class. The error message shown in this
situation generic and confusing, since it recommends adding an @NgModule
annotation to a class from a library.

This commit adds special detection into the View Engine compiler to give a
more specific error message when an Ivy NgModule is imported.

PR Close #41534

PR Close #41598
2021-04-14 09:38:40 -07:00
..