vue3-core/playground/vite.prod.config.ts

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

22 lines
386 B
TypeScript
Raw Normal View History

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