This commit is contained in:
Sami Mazouz 2024-09-19 17:34:05 +01:00
parent f66a1b998f
commit 7ecc8b0cba
No known key found for this signature in database

View File

@ -112,7 +112,7 @@ class RegisterAsyncChunksPlugin {
// This is a chunk with many modules, we need to register all of them.
modules?.forEach((module) => {
if (!module.resource.includes(`${path.sep}src${path.sep}`)) {
if (!module.resource?.includes(`${path.sep}src${path.sep}`)) {
return;
}