Skip to content

Commit 2c92f57

Browse files
committed
fix: 修改打包配置,禁用dist.zip生成
1 parent c272e10 commit 2c92f57

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

apps/web/.env.production

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ VITE_ROUTER_HISTORY=hash
1616
VITE_INJECT_APP_LOADING=true
1717

1818
# 打包后是否生成dist.zip
19-
VITE_ARCHIVER=true
19+
VITE_ARCHIVER=false
2020

2121
# V2 页面URL
2222
VITE_GLOB_V2_URL=/

turbo.json

+1-6
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,7 @@
1616
"tasks": {
1717
"build": {
1818
"dependsOn": ["^build"],
19-
"outputs": [
20-
"dist/**",
21-
"dist.zip",
22-
".vitepress/dist.zip",
23-
".vitepress/dist/**"
24-
]
19+
"outputs": ["dist/**", "dist.zip"]
2520
},
2621
"preview": {
2722
"dependsOn": ["^build"],

0 commit comments

Comments
 (0)