Browse Source

Update url-loader config

Pan 7 years ago
parent
commit
fec12a5775
1 changed files with 1 additions and 1 deletions
  1. 1 1
      build/webpack.base.conf.js

+ 1 - 1
build/webpack.base.conf.js

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