@angular+core+15.2.10.patch 1.35 KB
diff --git a/node_modules/@angular/core/fesm2020/core.mjs b/node_modules/@angular/core/fesm2020/core.mjs
index e9a9b75..17044d9 100755
--- a/node_modules/@angular/core/fesm2020/core.mjs
+++ b/node_modules/@angular/core/fesm2020/core.mjs
@@ -11053,13 +11053,13 @@ function findDirectiveDefMatches(tView, tNode) {
             if (isNodeMatchingSelectorList(tNode, def.selectors, /* isProjectionMode */ false)) {
                 matches || (matches = []);
                 if (isComponentDef(def)) {
-                    if (ngDevMode) {
+                    // if (ngDevMode) {
                         assertTNodeType(tNode, 2 /* TNodeType.Element */, `"${tNode.value}" tags cannot be used as component hosts. ` +
                             `Please use a different tag to activate the ${stringify(def.type)} component.`);
                         if (isComponentHost(tNode)) {
                             throwMultipleComponentError(tNode, matches.find(isComponentDef).type, def.type);
                         }
-                    }
+                    // }
                     // Components are inserted at the front of the matches array so that their lifecycle
                     // hooks run before any directive lifecycle hooks. This appears to be for ViewEngine
                     // compatibility. This logic doesn't make sense with host directives, because it