Skip to content

Commit a9eb195

Browse files
committed
fix: rebuild
1 parent b9f2bdb commit a9eb195

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

adminforth/modules/codeInjector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class CodeInjector implements ICodeInjector {
104104
const iconPackages = (
105105
await Promise.allSettled(iconPackageNames.map(async (pkg) => ({ pkg: await import(pathToFileURL(path.join(this.spaTmpPath(), 'node_modules', pkg)).href), name: pkg})))
106106
);
107-
process.env.HEAVY_DEBUG && console.log(`Icon packages load results: ${iconPackages.map((res) => res.status + ':' + res.value?.name || res.reason).join(', ')}`);
107+
108108
const loadedIconPackages = iconPackages.filter(isFulfilled).map((res) => res.value).reduce((acc, { pkg, name }) => {
109109
acc[name.slice(`@iconify-prerendered/vue-`.length)] = pkg;
110110
return acc;

0 commit comments

Comments
 (0)