Vite bundler produces uncompressed HTML

When building my Framework7 Core app using Vite and rollup bundler, I notice that the resulting index.js file does contain minified and compressed JavaScript code. However, the HTML of the pages, router components and the rest of the app is still kept uncompressed.

Is there a way to minify/compress and/or obfuscate the HTML part of the bundler output?
Maybe through some bundler plugin?