vite-plugin-minify
v2.0.1
Published
Minify html in production
Downloads
48,136
Maintainers
Readme
vite-plugin-minify
Minify html in production
Usage
npm install vite-plugin-minify -D
// vite.config.js
import { defineConfig } from 'vite'
import { ViteMinifyPlugin } from 'vite-plugin-minify'
export default defineConfig({
plugins: [
// input https://www.npmjs.com/package/html-minifier-terser options
ViteMinifyPlugin({}),
],
})