Skip to content

Commit 882aaca

Browse files
committed
feat: add support for avif
1 parent 566c803 commit 882aaca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-plugin-unit-jest/presets/default/jest-preset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ module.exports = {
1616
transform: {
1717
// process *.vue files with vue-jest
1818
'^.+\\.vue$': vueJest,
19-
'.+\\.(css|styl|less|sass|scss|jpg|jpeg|png|svg|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
19+
'.+\\.(css|styl|less|sass|scss|jpg|jpeg|png|svg|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga|avif)$':
2020
require.resolve('jest-transform-stub'),
2121
'^.+\\.jsx?$': require.resolve('babel-jest')
2222
},

0 commit comments

Comments
 (0)