Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 882aaca

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

File tree

1 file changed

+1
-1
lines changed
Filter options

1 file changed

+1
-1
lines changed

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

Copy file name to clipboardExpand all lines: packages/@vue/cli-plugin-unit-jest/presets/default/jest-preset.js
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.