mirror of https://github.com/webpack/webpack.git
fix: hash to fullhash
This commit is contained in:
parent
3aa6b6bc3a
commit
fc47ea72be
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue