Skip to content

Commit

Permalink
fix: make Angular components standalone for treeshaking
Browse files Browse the repository at this point in the history
  • Loading branch information
b12f committed Jul 19, 2023
1 parent aae0442 commit 56e2b9b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/sour-stingrays-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@openproject/octicons': patch
---

fix: make Angular components standalone for treeshaking
1 change: 1 addition & 0 deletions lib/octicons_angular/script/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ const icons = Object.entries(octicons)
const code = `
@Component({
selector: 'svg[op-octicon-${key}]',
standalone: true,
template: \`
<title *ngIf="title">{{title}}</title>
Expand Down

0 comments on commit 56e2b9b

Please sign in to comment.