fix: hash to fullhash

This commit is contained in:
Pavitra Mallick 2025-03-18 10:13:47 +05:30
parent 3aa6b6bc3a
commit fc47ea72be
1 changed files with 2 additions and 2 deletions

View File

@ -290,8 +290,8 @@ describe("HotModuleReplacementPlugin", () => {
filename: "[name]", filename: "[name]",
chunkFilename: "[name].js", chunkFilename: "[name].js",
path: path.join(__dirname, "js", "HotModuleReplacementPlugin"), path: path.join(__dirname, "js", "HotModuleReplacementPlugin"),
hotUpdateChunkFilename: "static/webpack/[id].[hash].hot-update.js", hotUpdateChunkFilename: "static/webpack/[id].[fullhash].hot-update.js",
hotUpdateMainFilename: "static/webpack/[hash].hot-update.json" hotUpdateMainFilename: "static/webpack/[fullhash].hot-update.json"
}, },
plugins: [new webpack.HotModuleReplacementPlugin()], plugins: [new webpack.HotModuleReplacementPlugin()],
optimization: { optimization: {