Open felschr opened 1 year ago
Using instanceof HtmlWebpackPlugin doesn't work in projects with multiple versions of html-webpack-plugin and causes the following error message:
instanceof HtmlWebpackPlugin
html-webpack-plugin
Error running html-webpack-tags-plugin, are you sure you have html-webpack-plugin before it in your webpack config's plugins?
Checking the constructor name instead should be more robust and seems to be common practice, too.
Using
instanceof HtmlWebpackPlugin
doesn't work in projects with multiple versions ofhtml-webpack-plugin
and causes the following error message:Checking the constructor name instead should be more robust and seems to be common practice, too.