Merge branch 'dev'

This commit is contained in:
奔跑的面条 2025-02-20 23:38:23 +08:00
commit b2d7f2cf32
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@
},
"scripts": {
"dev": "vite --host",
"build": "vue-tsc --noEmit && vite build",
"build": "vite build",
"preview": "vite preview",
"new": "plop --plopfile ./plop/plopfile.js",
"postinstall": "husky install",

View File

@ -81,7 +81,7 @@ export default defineConfig({
})
],
build: {
target: 'es2015',
target: 'es2020',
outDir: OUTPUT_DIR,
// minify: 'terser', // 如果需要用terser混淆可打开这两行
// terserOptions: terserOptions,