diff --git a/packages/hoppscotch-app/src/modules/index.ts b/packages/hoppscotch-app/src/modules/index.ts index e82e3e62c..f4ec9d65c 100644 --- a/packages/hoppscotch-app/src/modules/index.ts +++ b/packages/hoppscotch-app/src/modules/index.ts @@ -46,7 +46,7 @@ export type HoppModule = { * All the modules Hoppscotch loads into the app */ export const HOPP_MODULES = pipe( - import.meta.globEager("@modules/*.ts"), + import.meta.glob("@modules/*.ts", { eager: true }), Object.values, A.map(({ default: defaultVal }) => defaultVal as HoppModule) )