Skip to content

Commit

Permalink
Merge pull request #730 from developit/webp
Browse files Browse the repository at this point in the history
Add support for webp images
  • Loading branch information
ForsakenHarmony authored Feb 13, 2019
2 parents b8ac82b + 03e1465 commit ab6829c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/lib/lib/webpack/webpack-base-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ module.exports = function(env) {
loader: 'raw-loader',
},
{
test: /\.(svg|woff2?|ttf|eot|jpe?g|png|gif|mp4|mov|ogg|webm)(\?.*)?$/i,
test: /\.(svg|woff2?|ttf|eot|jpe?g|png|webp|gif|mp4|mov|ogg|webm)(\?.*)?$/i,
loader: isProd ? 'file-loader' : 'url-loader',
},
],
Expand Down

0 comments on commit ab6829c

Please sign in to comment.