Skip to content

Commit fa5f5e9

Browse files
hex-ciPanJiaChen
authored andcommitted
与 vue-cli webpack 模板不一致
1 parent cda292d commit fa5f5e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/webpack.base.conf.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,15 +68,15 @@ module.exports = {
6868
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
6969
loader: 'url-loader',
7070
exclude: [resolve('src/icons')],
71-
query: {
71+
options: {
7272
limit: 10000,
7373
name: utils.assetsPath('img/[name].[hash:7].[ext]')
7474
}
7575
},
7676
{
7777
test: /\.(woff2?|eot|ttf|otf)(\?.*)?$/,
7878
loader: 'url-loader',
79-
query: {
79+
options: {
8080
limit: 10000,
8181
name: utils.assetsPath('fonts/[name].[hash:7].[ext]')
8282
}

0 commit comments

Comments
 (0)