Skip to content

Commit e24623e

Browse files
committed
Revert "fix: add debug logs"
This reverts commit 7a03860.
1 parent c991aa3 commit e24623e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

adminforth/modules/codeInjector.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,21 +96,16 @@ class CodeInjector implements ICodeInjector {
9696
const uniqueIcons = Array.from(new Set(icons));
9797
const collections = new Set(icons.map((icon) => icon.split(':')[0]));
9898
const iconPackageNames = Array.from(collections).map((collection) => `@iconify-prerendered/vue-${collection}`);
99-
console.log('iconPackageNames', iconPackageNames);
10099

101100
const iconPackages = (
102101
await Promise.allSettled(iconPackageNames.map(async (pkg) => ({ pkg: await import(pathToFileURL(path.join(this.spaTmpPath(), 'node_modules', pkg)).href), name: pkg})))
103102
);
104103

105-
console.log('iconPackages', iconPackages);
106-
107104
const loadedIconPackages = iconPackages.filter(isFulfilled).map((res) => res.value).reduce((acc, { pkg, name }) => {
108105
acc[name.slice(`@iconify-prerendered/vue-`.length)] = pkg;
109106
return acc;
110107
}, {});
111108

112-
console.log('loadedIconPackages', loadedIconPackages);
113-
114109
uniqueIcons.forEach((icon) => {
115110
const [ collection, iconName ] = icon.split(':');
116111
const PascalIconName = 'Icon' + iconName.split('-').map((part, index) => {

0 commit comments

Comments
 (0)