mirror of
https://github.com/flarum/core.git
synced 2025-08-06 08:27:42 +02:00
fix
This commit is contained in:
@@ -112,7 +112,7 @@ class RegisterAsyncChunksPlugin {
|
|||||||
|
|
||||||
// This is a chunk with many modules, we need to register all of them.
|
// This is a chunk with many modules, we need to register all of them.
|
||||||
modules?.forEach((module) => {
|
modules?.forEach((module) => {
|
||||||
if (!module.resource.includes(`${path.sep}src${path.sep}`)) {
|
if (!module.resource?.includes(`${path.sep}src${path.sep}`)) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user