Skip to content

Commit 87aff58

Browse files
committed
fix: correct path in checkIconNames in code injector
1 parent a74ebf9 commit 87aff58

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
@@ -106,7 +106,7 @@ class CodeInjector implements ICodeInjector {
106106
iconPackageNames.map(
107107
async (pkg) => (
108108
{
109-
pkg: await import(pathToFileURL(path.join(this.spaTmpPath(), 'node_modules', pkg)).href),
109+
pkg: await import(pathToFileURL(path.join(this.spaTmpPath(), 'node_modules', pkg, 'index.js')).href),
110110
name: pkg
111111
}
112112
)

0 commit comments

Comments
 (0)