vite-plugin-minify
v2.1.0
Published
Minify html in production
Downloads
48,435
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({}),
],
})