chore: change the map to foreach (#278)
This commit is contained in:
1 parent
7df00319ea
commit
153a4d877d
1 file changed
+1
-1
+1
-1
@@ -22,6 +22,6 @@ export const createApp = ViteSSG(
|
||||
{ routes, base: import.meta.env.BASE_URL },
|
||||
(ctx) => {
|
||||
// install all modules under `modules/`
|
||||
Object.values(import.meta.globEager('./modules/*.ts')).map(i => i.install?.(ctx))
|
||||
Object.values(import.meta.globEager('./modules/*.ts')).forEach(i => i.install?.(ctx))
|
||||
},
|
||||
)
|
||||
Reference in new issue
Block a user