Update url-loader config

This commit is contained in:
Pan 2017-09-08 15:55:35 +08:00
parent 682841ac39
commit fec12a5775
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ module.exports = {
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
loader: 'url-loader',
exclude: [resolve('src/icons')],
query: {
options: {
limit: 10000,
name: utils.assetsPath('img/[name].[hash:7].[ext]')
}