Skip to content

Commit

Permalink
fix(utils): FileTypes - add apng, m4a, aac,oga,wav,aac
Browse files Browse the repository at this point in the history
  • Loading branch information
vio committed Mar 9, 2022
1 parent c75d894 commit 1b556c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/utils/src/config/file-types.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ export const FILE_TYPE_OTHER = 'OTHER';
export const FILE_TYPE_PATTERNS = {
[FILE_TYPE_CSS]: /\.css$/,
[FILE_TYPE_JS]: /\.js$/,
[FILE_TYPE_IMG]: /\.(png|jpe?g|webp|gif|svg|ico|avif)$/,
[FILE_TYPE_MEDIA]: /\.(mp4|mp3|mov|webm|ogg)$/,
[FILE_TYPE_IMG]: /\.(a?png|jpe?g|webp|gif|svg|ico|avif)$/,
[FILE_TYPE_MEDIA]: /\.(mp4|mp3|m4a|aac|mov|webm|wav|ogg)$/,
[FILE_TYPE_FONT]: /\.(woff|woff2|ttf|otf|eot)$/,
[FILE_TYPE_HTML]: /\.(html?)$/,
};
Expand Down

0 comments on commit 1b556c1

Please sign in to comment.