diff --git a/packages/core/src/render3/definition.ts b/packages/core/src/render3/definition.ts index 55885683ed3..13e5f33242b 100644 --- a/packages/core/src/render3/definition.ts +++ b/packages/core/src/render3/definition.ts @@ -689,6 +689,9 @@ function getComponentId(componentDef: ComponentDef): string { componentDef.decls, componentDef.encapsulation, componentDef.standalone, + componentDef.exportAs, + JSON.stringify(componentDef.inputs), + JSON.stringify(componentDef.outputs), // We cannot use 'componentDef.type.name' as the name of the symbol will change and will not // match in the server and browser bundles. Object.getOwnPropertyNames(componentDef.type.prototype),