Skip to content

Commit 40c2cec

Browse files
carlosflorencios0ph1e
authored andcommitted
Add .mp4 files to a directory (#228)
* Add .mp4 files to a directory Example tag: `<source src="file.mp4" type="video/mp4">` . Instead of having the videos in the root folder, a `media` folder seems better. * Added more media types
1 parent 892e42e commit 40c2cec

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/config/defaults.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const config = {
4040
{ directory: 'images', extensions: ['.png', '.jpg', '.jpeg', '.gif', '.webp'] },
4141
{ directory: 'js', extensions: ['.js'] },
4242
{ directory: 'css', extensions: ['.css'] },
43+
{ directory: 'media', extensions: ['.mp4', '.mp3', '.ogg', '.webm', '.mov', '.wave', '.wav', '.flac'] },
4344
{ directory: 'fonts', extensions: ['.ttf', '.woff', '.woff2', '.eot', '.svg'] }
4445
],
4546
request: {

0 commit comments

Comments
 (0)