Skip to content

Commit

Permalink
feature: add webm,webp,avif import support
Browse files Browse the repository at this point in the history
  • Loading branch information
AshKyd committed Dec 20, 2023
1 parent 0007336 commit 763c37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/webpack.js
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ function createWebpackConfig({ isModernJS } = {}) {
}
},
{
test: /\.(jpg|png|gif|mp4|m4v|flv|mp3|wav|m4a|eot|ttf|woff|woff2)$/,
test: /\.(jpg|png|gif|mp4|m4v|flv|mp3|wav|m4a|eot|ttf|woff|woff2|mp4|webm|webp|avif)$/,
type: 'asset'
},
{
Expand Down

1 comment on commit 763c37a

@phocks
Copy link
Member

@phocks phocks commented on 763c37a Jan 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems mp4 was already in there. Fixing this up now.

Please sign in to comment.