feat: add archive plug-in to output dist.zip after build (#4272)

* feat: add the archiver plug-in to output dist.zip after build

* chore: update env
This commit is contained in:
Vben
2024-08-29 21:47:00 +08:00
committed by GitHub
parent be3bcc1122
commit 98da0672e7
21 changed files with 200 additions and 44 deletions

View File

@@ -55,6 +55,7 @@ VITE_DEVTOOLS=true
# 是否注入全局loading
VITE_INJECT_APP_LOADING=true
```
```bash [.env.production]
@@ -75,6 +76,10 @@ VITE_ROUTER_HISTORY=hash
# 是否注入全局loading
VITE_INJECT_APP_LOADING=true
# 打包后是否生成dist.zip
VITE_ARCHIVER=true
```
:::