Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideMininni-Fincons committed Apr 12, 2024
1 parent 298038f commit 3b74c76
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/manifest/custom-elements-manifest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ export default {
for (const module of customElementsManifest.modules) {
fixModulePaths(module);
for (const declaration of module.declarations.filter((d) => d.kind === 'class')) {
if (declaration.name === 'SbbIconBase') {
// Abstract base classes are considered components even if they don't have the `customElement` annotation.
if (declaration.name.includes('Base')) {
delete declaration.customElement;
}
for (const member of declaration.members) {
Expand Down

0 comments on commit 3b74c76

Please sign in to comment.