of course I forgot this

This commit is contained in:
Nuckyz 2024-08-20 17:04:38 -03:00
parent 30ef53403b
commit 2f806dde95
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -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) {