Skip to content

Commit

Permalink
Merge pull request #11653 from log2-hwan/fix-moduletemplate-deprecation
Browse files Browse the repository at this point in the history
Fix ModuleTemplate.hooks.hash deprecation message
  • Loading branch information
sokra committed Oct 13, 2020
2 parents 0e2f3fb + 34c8310 commit 48c10f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ModuleTemplate.js
Expand Up @@ -126,7 +126,7 @@ class ModuleTemplate {
(options, fn) => {
compilation.hooks.fullHash.tap(options, fn);
},
"ModuleTemplate.hooks.package is deprecated (use Compilation.hooks.fullHash instead)",
"ModuleTemplate.hooks.hash is deprecated (use Compilation.hooks.fullHash instead)",
"DEP_MODULE_TEMPLATE_HASH"
)
}
Expand Down

0 comments on commit 48c10f3

Please sign in to comment.