From 2bf3711cf0feeab6beff5ff75ef72f470b9a7ac5 Mon Sep 17 00:00:00 2001 From: github-actions Date: Wed, 7 Feb 2024 17:18:46 +0000 Subject: [PATCH] Merge pull request #1531 from hydephp/improve-media-asset-handling Add media extensions option to default config https://github.com/hydephp/develop/commit/56f18dc0f896a51e6082f9415ae02f3ec29ecb18 --- config/hyde.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/hyde.php b/config/hyde.php index b05f8683..c65a8375 100644 --- a/config/hyde.php +++ b/config/hyde.php @@ -446,6 +446,10 @@ | */ + // Change the file extensions to be considered as media files and are copied to the output directory. + // If you want to add more extensions, add it to the empty merge array, or just override the entire array. + 'media_extensions' => array_merge([], \Hyde\Support\Filesystem\MediaFile::EXTENSIONS), + // The list of directories that are considered to be safe to empty upon site build. // If the site output directory is set to a directory that is not in this list, // the build command will prompt for confirmation before emptying it.