mirror of https://github.com/vuejs/core.git
22 lines
386 B
TypeScript
22 lines
386 B
TypeScript
|
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,
|
||
|
}),
|
||
|
],
|
||
|
})
|