add react support into lib

This commit is contained in:
Cory LaViska
2021-11-04 07:27:18 -04:00
parent c88ea6666b
commit a4c9b9c8cf
20 changed files with 652 additions and 237 deletions

View File

@@ -5,9 +5,10 @@ export function getAllComponents(metadata) {
module.declarations?.map(declaration => {
if (declaration.customElement) {
const component = declaration;
const modulePath = module.path;
if (component) {
allComponents.push(component);
allComponents.push(Object.assign(component, { modulePath }));
}
}
});