Skip to content

Commit

Permalink
Merge pull request #219 from abcnews/feature/asset-support
Browse files Browse the repository at this point in the history
feature: add webm,webp,avif import support
  • Loading branch information
AshKyd authored Dec 20, 2023
2 parents 0007336 + 763c37a commit 669a35b
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

0 comments on commit 669a35b

Please sign in to comment.