32 lines
580 B
TypeScript
32 lines
580 B
TypeScript
import { defineConfig } from 'vite'
|
|
import vue from '@vitejs/plugin-vue'
|
|
import vuetify from "vite-plugin-vuetify";
|
|
|
|
// https://vitejs.dev/config/
|
|
export default defineConfig({
|
|
plugins: [
|
|
vue(),
|
|
vuetify({
|
|
autoImport: true,
|
|
})
|
|
],
|
|
build: {
|
|
minify: 'terser',
|
|
cssMinify: true,
|
|
terserOptions: {
|
|
parse: {
|
|
html5_comments: false
|
|
},
|
|
compress: {
|
|
drop_console: true,
|
|
drop_debugger: true,
|
|
ecma: 2020
|
|
},
|
|
format: {
|
|
ascii_only: true,
|
|
comments: false
|
|
}
|
|
}
|
|
}
|
|
})
|