Skip to content

Commit

Permalink
fix: hooks file for old plugins (#1867)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait authored Oct 23, 2024
1 parent 11a248e commit 0585a36
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Empty file modified .husky/commit-msg
100644 → 100755
Empty file.
Empty file modified .husky/pre-commit
100644 → 100755
Empty file.
7 changes: 7 additions & 0 deletions lib/hooks.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// TODO remove in the next major release
const plugin = require("../index");

module.exports = {
getHtmlWebpackPluginHooks: (compilation) =>
plugin.getCompilationHooks(compilation),
};

0 comments on commit 0585a36

Please sign in to comment.