core
core copied to clipboard
fix(runtime-core): do not throw on unknown directives
Fixes #6340
This commit improves the case when a directive is not found in a template. As resolveDirective returns undefined, some code was failing with the following error:
TypeError: Cannot read properties of undefined (reading 'deep')