Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

vite.config.js

import {
	defineConfig
} from 'vite'

import {
	minifyHtml
} from 'vite-plugin-html'


export default defineConfig({
	build: {
		minify: 'esbuild',
		target: "esnext"
	},
	plugins: [
		minifyHtml(),
	],

})
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
9+2 =