vite-plugin-minify-html
v1.0.2
Published
Minify HTML files.
Downloads
287
Maintainers
Readme
vite-plugin-minify-html
Minify HTML files.
Install
npm i -D vite-plugin-minify-html
Usage
// vite.config.js
import minifyHtml from 'vite-plugin-minify-html'
export default {
plugins: [minifyHtml()],
}
API
minifyHtml(options?: boolean | MinifyOptions)
For more configurations, see html-minifier-terser.
License
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.