Setting minify.minifyOutput to true in your site configuration, or running hugo with the --minify option, will run the minifier on the HTML pages rendered to the publishDir. With the default configuration, the HTML markup will be minified, as will inline CSS, inline JS, etc.
This operation is independent of CSS/JS asset minification.