Skip to content

Commit

Permalink
Fix chunkAsset hook call
Browse files Browse the repository at this point in the history
The `compilation.hook.chunkAsset` hook expects 2 parameters, not three.
  • Loading branch information
EECOLOR committed Aug 1, 2018
1 parent 32fdca2 commit 7473ed4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/HotModuleReplacementPlugin.js
Expand Up @@ -286,7 +286,6 @@ module.exports = class HotModuleReplacementPlugin {
hotUpdateMainContent.c[chunkId] = true;
currentChunk.files.push(filename);
compilation.hooks.chunkAsset.call(
"HotModuleReplacementPlugin",
currentChunk,
filename
);
Expand Down

0 comments on commit 7473ed4

Please sign in to comment.