| 1234567891011121314151617181920212223242526 |
- import { defineConfig } from 'vite'
- import Vue from '@vitejs/plugin-vue'
- import * as CompilerSFC from '@vue/compiler-sfc'
- export default defineConfig({
- build: {
- modulePreload: false,
- target: 'esnext',
- minify: 'terser',
- terserOptions: {
- format: { comments: false },
- compress: {
- pure_getters: true,
- },
- },
- },
- clearScreen: false,
- plugins: [
- Vue({
- compiler: CompilerSFC,
- features: {
- optionsAPI: false,
- },
- }),
- ],
- })
|