workflow: Add build scripts for gitee

This commit is contained in:
kailong321200875
2022-02-21 21:44:57 +08:00
parent 969828b18a
commit c2dc3bab58
3 changed files with 79 additions and 0 deletions

23
.env.gitee Normal file
View File

@@ -0,0 +1,23 @@
# 环境
NODE_ENV = production
# 接口前缀
VITE_API_BASEPATH = pro
# 打包路径
VITE_BASE_PATH = /vue-element-plus-admin/
# 是否删除debugger
VITE_DROP_DEBUGGER = true
# 是否删除console.log
VITE_DROP_CONSOLE = true
# 是否sourcemap
VITE_SOURCEMAP = false
# 输出路径
VITE_OUT_DIR = dist-pro
# 标题
VITE_APP_TITLE = ElementAdmin