Instead of writing raw HTML to the disk, it would be cool to be able to apply some modifications to the HTML before saving it, using the new html-minimizer-webpack-plugin for example. See https://github.com/webpack-contrib/html-minimizer-webpack-plugin.
Note that I have been able to make it work by directly implementing the html-minifier-terser inside the onBeforeSave hook.
Instead of writing raw HTML to the disk, it would be cool to be able to apply some modifications to the HTML before saving it, using the new
html-minimizer-webpack-pluginfor example. See https://github.com/webpack-contrib/html-minimizer-webpack-plugin.