Skip to content

Commit

Permalink
fix: optimize fontawesome imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin-Guillemin committed Jan 12, 2024
1 parent 644543a commit 509ebcf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main/webapp/src/plugins/fontawsome.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
fa1,
fa2,
faArrowLeft,
faCaretDown,
faCircleInfo,
faClockRotateLeft,
faCloud,
Expand All @@ -13,6 +14,7 @@ import {
faGear,
faGlobe,
faPlus,
faSave,
faShareNodes,
faSortDown,
faSortUp,
Expand All @@ -28,6 +30,8 @@ const register = (app: App): void => {
library.add(
fa1,
fa2,
faArrowLeft,
faCaretDown,
faCircleInfo,
faClockRotateLeft,
faCloud,
Expand All @@ -37,13 +41,13 @@ const register = (app: App): void => {
faGear,
faGlobe,
faPlus,
faSave,
faShareNodes,
faSortDown,
faSortUp,
faStar,
faTrash,
faXmark,
faArrowLeft,
);
app.component('font-awesome-icon', FontAwesomeIcon);
};
Expand Down

0 comments on commit 509ebcf

Please sign in to comment.