diff --git a/src/Generators/ModuleGenerator.php b/src/Generators/ModuleGenerator.php index 09f32d33..1972c9bd 100644 --- a/src/Generators/ModuleGenerator.php +++ b/src/Generators/ModuleGenerator.php @@ -298,6 +298,7 @@ public function generate(): int if ($this->type !== 'plain') { $this->generateFiles(); + $this->module->resetModules(); $this->generateResources(); }