diff --git a/src/StarterKits/InstallableModule.php b/src/StarterKits/InstallableModule.php index c1ec1aeda0..c11923d76b 100644 --- a/src/StarterKits/InstallableModule.php +++ b/src/StarterKits/InstallableModule.php @@ -246,6 +246,8 @@ protected function installableFilesPath(?string $path = null): string { $package = $this->installer->package(); + // Scope to new `export` folder if it exists, otherwise we'll + // look in starter kit root for backwards compatibility $scope = $this->files->exists(base_path("vendor/{$package}/export")) ? 'export' : null;