Skip to content

Commit

Permalink
feat: support webp
Browse files Browse the repository at this point in the history
close #1321
  • Loading branch information
test committed May 18, 2018
1 parent 48d7e00 commit 763cf7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/config/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ module.exports = (api, options) => {

webpackConfig.module
.rule('images')
.test(/\.(png|jpe?g|gif)(\?.*)?$/)
.test(/\.(png|jpe?g|gif|webp)(\?.*)?$/)
.use('url-loader')
.loader('url-loader')
.options({
Expand Down

0 comments on commit 763cf7a

Please sign in to comment.