Update: 使用 [contenthash:8] 替换 [hash:8]

This commit is contained in:
王立帮
2024-10-08 09:58:21 +08:00
parent 21ba33c876
commit f3f77c7847
37 changed files with 19 additions and 19 deletions

View File

@@ -51,7 +51,7 @@ module.exports = {
]
},
plugins: [
new MiniCssExtractPlugin({ filename: "styles/[name].[hash:8].css" }),
new MiniCssExtractPlugin({ filename: "styles/[name].[contenthash:8].css" }),
new CopyPlugin({
patterns: [
{