mirror of
https://github.com/flarum/core.git
synced 2025-08-05 16:07:34 +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.
|
||||
modules?.forEach((module) => {
|
||||
if (!module.resource.includes(`${path.sep}src${path.sep}`)) {
|
||||
if (!module.resource?.includes(`${path.sep}src${path.sep}`)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user