feat: support webp

close #1321
This commit is contained in:
test
2018-05-18 16:46:09 -04:00
parent 48d7e00e9a
commit 763cf7a8bc
+1 -1
View File
@@ -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({