diff --git a/.husky/commit-msg b/.husky/commit-msg old mode 100644 new mode 100755 diff --git a/.husky/pre-commit b/.husky/pre-commit old mode 100644 new mode 100755 diff --git a/lib/hooks.js b/lib/hooks.js new file mode 100644 index 00000000..21e5716a --- /dev/null +++ b/lib/hooks.js @@ -0,0 +1,7 @@ +// TODO remove in the next major release +const plugin = require("../index"); + +module.exports = { + getHtmlWebpackPluginHooks: (compilation) => + plugin.getCompilationHooks(compilation), +};