This repository was archived by the owner on Oct 4, 2023. It is now read-only.
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
No hash value causes the cache problem #329
Closed
Description
Describe the issue / bug.
No hash value causes the cache problem
How can I reproduce this problem?
assets/image/a/1.png
assets/image/b/1.png
when you use both at the same time, a/1.png will be replaced by b/1.png because their names are the same
bugfix
{
test: /\.(png|jpe?g|gif|svg)(\?.*)?$/,
use: {
loader: 'url-loader',
query: {
limit: 10000,
name: 'imgs/[name].[hash:7].[ext]'
}
}
},