mirror of https://github.com/vuejs/core.git
26 lines
463 B
TypeScript
26 lines
463 B
TypeScript
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: false,
|
|
terserOptions: {
|
|
compress: {
|
|
pure_getters: true,
|
|
},
|
|
},
|
|
},
|
|
clearScreen: false,
|
|
plugins: [
|
|
Vue({
|
|
compiler: CompilerSFC,
|
|
features: {
|
|
optionsAPI: false,
|
|
},
|
|
}),
|
|
],
|
|
})
|