snowpack-plugin-minify-html
Minify HTML in production using html-minifier with Snowpack
npm i snowpack-plugin-minify-html
When to use this
You should only use this if you aren't already using a bundler (Webpack, Parcel, Rollup) to build your production site.
Quick start
// snowpack.config.jsmoduleexports = plugins: 'snowpack-plugin-minify-html' /** * @see Plugin Options below */ htmlMinifierOptions: sortAttributes: true removeComments: true
Plugin Options
LICENSE
MIT