Skip to content

Commit

Permalink
fix: hooks file for old plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-akait committed Oct 23, 2024
1 parent 11a248e commit ca9b160
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/hooks.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// TODO remove in the next major release
const plugin = require("../index");

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

0 comments on commit ca9b160

Please sign in to comment.