Skip to content

Commit 7ec957e

Browse files
committed
[webpack] Use "[contenthash]" instead of "[hash]"
If I'm not mistaken, this currently outputs the same hash. But https://webpack.js.org/guides/caching/ and webpack/webpack.js.org#2096 recommends "[contenthash]".
1 parent 4ba5561 commit 7ec957e

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
@@ -87,7 +87,7 @@ function webpackConfig(env = {}) {
8787
{
8888
loader: "file-loader",
8989
options: {
90-
name: "[name].[hash].[ext]",
90+
name: "[name].[contenthash].[ext]",
9191
},
9292
},
9393
],

0 commit comments

Comments
 (0)