mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-04-26 06:48:16 -05:00
Existing: - css - styl - less - sass - scss - svg - png - jpg - ttf - woff - woff2 Added: - jpeg - gif - eot - otf - webp - mp4 - webm - wav - mp3 - m4a - aac - oga
This commit is contained in:
@@ -9,7 +9,7 @@ module.exports = {
|
||||
transform: {
|
||||
// process *.vue files with vue-jest
|
||||
'^.+\\.vue$': require.resolve('vue-jest'),
|
||||
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$':
|
||||
'.+\\.(css|styl|less|sass|scss|jpg|jpeg|png|svg|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
|
||||
require.resolve('jest-transform-stub'),
|
||||
'^.+\\.jsx?$': require.resolve('babel-jest')
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user