diff --git a/.changeset/sour-stingrays-pull.md b/.changeset/sour-stingrays-pull.md new file mode 100644 index 000000000..ac972ee6b --- /dev/null +++ b/.changeset/sour-stingrays-pull.md @@ -0,0 +1,5 @@ +--- +'@openproject/octicons': patch +--- + +fix: make Angular components standalone for treeshaking diff --git a/lib/octicons_angular/script/build.js b/lib/octicons_angular/script/build.js index 8ce4b18e7..eb2412639 100755 --- a/lib/octicons_angular/script/build.js +++ b/lib/octicons_angular/script/build.js @@ -42,6 +42,7 @@ const icons = Object.entries(octicons) const code = ` @Component({ selector: 'svg[op-octicon-${key}]', + standalone: true, template: \` {{title}}