mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-22 23:32:49 +08:00
build: 修改打包错误
This commit is contained in:
parent
7d0beec210
commit
345c4020a6
@ -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",
|
||||
|
@ -76,7 +76,7 @@ export default defineConfig({
|
||||
})
|
||||
],
|
||||
build: {
|
||||
target: 'es2015',
|
||||
target: 'es2020',
|
||||
outDir: OUTPUT_DIR,
|
||||
// minify: 'terser', // 如果需要用terser混淆,可打开这两行
|
||||
// terserOptions: terserOptions,
|
||||
|
Loading…
Reference in New Issue
Block a user