Skip to content
This repository was archived by the owner on May 7, 2022. It is now read-only.

Commit 6e9c494

Browse files
committed
修改图片loader
1 parent 118e2b0 commit 6e9c494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ module.exports = {
8080
})
8181
}, {
8282
test: /\.(png|jpg|gif|svg|eot|ttf|woff|woff2)$/,
83-
use: ['url-loader?limit=10000&name=files/[md5:hash:base64:10].[ext]']
83+
use: ['url-loader?limit=1000&name=files/[md5:hash:base64:10].[ext]']
8484
}]
8585
},
8686
devServer: {

0 commit comments

Comments
 (0)