From 2f806dde95307e642a7687d3463f87e84724b017 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Tue, 20 Aug 2024 17:04:38 -0300 Subject: [PATCH] of course I forgot this --- src/webpack/api.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webpack/api.tsx b/src/webpack/api.tsx index 70aa756ed..10194d3a4 100644 --- a/src/webpack/api.tsx +++ b/src/webpack/api.tsx @@ -616,7 +616,7 @@ function handleWebpackError(err: string, returnValue: any, ...args: any[]) { * @returns A function that returns a promise that resolves with a boolean whether the chunks were loaded, on first call */ export function extractAndLoadChunksLazy(code: CodeFilterWithSingle, matcher: RegExp = DefaultExtractAndLoadChunksRegex) { - const module = findModuleFactory(code); + const module = findModuleFactory(code, { isIndirect: true }); const extractAndLoadChunks = makeLazy(async () => { if (module[SYM_PROXY_INNER_GET] != null && module[SYM_PROXY_INNER_VALUE] == null) {