Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add media extensions option to default config #1531

Merged
merged 4 commits into from
Feb 7, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reformat code comment to be more concise
  • Loading branch information
caendesilva committed Feb 7, 2024
commit 1d9b625d9bfbbfdc183544bbb1686845bfaffbf5
5 changes: 2 additions & 3 deletions packages/framework/config/hyde.php
Original file line number Diff line number Diff line change
Expand Up @@ -446,9 +446,8 @@
|
*/

// Change the file extensions to be considered as media files.
// If you want to add more extensions, use the merge array.
// If you want to replace them, override the entire array.
// 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.
Expand Down