mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 08:43:21 +08:00
fix
This commit is contained in:
parent
f66a1b998f
commit
7ecc8b0cba
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user