From fec12a5775e4f0dcacecfe88a4a2e3eff7bb95f2 Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 8 Sep 2017 15:55:35 +0800 Subject: [PATCH] Update url-loader config --- build/webpack.base.conf.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/webpack.base.conf.js b/build/webpack.base.conf.js index 72005d0..e5c0e8b 100644 --- a/build/webpack.base.conf.js +++ b/build/webpack.base.conf.js @@ -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]') }