Merge branch 'modules-proxy-patches' into immediate-finds-modules-proxy

This commit is contained in:
Nuckyz 2024-06-06 00:50:57 -03:00
commit 5bbf467be0
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -157,10 +157,10 @@ export async function loadLazyChunks() {
// Loads and requires a chunk
if (!isWorkerAsset) {
await wreq.e(id as any);
await wreq.e(id);
// Technically, the id of the chunk does not match the entry point
// But, still try it because we have no way to get the actual entry point
if (wreq.m[id]) wreq(id as any);
if (wreq.m[id]) wreq(id);
}
}));