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

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

26 lines
463 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: {
2024-12-02 21:00:34 +08:00
modulePreload: false,
target: 'esnext',
2024-12-02 09:36:49 +08:00
minify: false,
terserOptions: {
compress: {
pure_getters: true,
},
},
},
clearScreen: false,
plugins: [
Vue({
compiler: CompilerSFC,
features: {
optionsAPI: false,
},
}),
],
})