与 vue-cli webpack 模板不一致

This commit is contained in:
Hex 2017-09-08 15:37:13 +08:00 committed by 花裤衩
parent cda292dec1
commit fa5f5e9d26
1 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,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]')
}
@ -76,7 +76,7 @@ module.exports = {
{
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
loader: 'url-loader',
query: {
options: {
limit: 10000,
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
}