From 599f70e237ad96603d988b635d446e8210ef5521 Mon Sep 17 00:00:00 2001 From: Jesse Leite Date: Tue, 3 Dec 2024 18:12:21 -0500 Subject: [PATCH] Note on backwards compatibility for future us. --- src/StarterKits/InstallableModule.php | 2 ++ 1 file changed, 2 insertions(+) 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;