CI / build-and-test (push) Canceled after 0s
以 ckcloudManage a44810c 为基础,只保留资产页面(台账、单据、基础数据、同步任务)、 登录/错误/个人资料等公共页面,以及资产单据“查看流程”用到的流程详情页; 统一登录应用编码默认 CK_ASSET,标题“资产管理”,本地端口 9090。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
611 B
Bash
33 lines
611 B
Bash
# 生产环境:只在打包时使用
|
|
NODE_ENV=production
|
|
|
|
VITE_DEV=false
|
|
|
|
# 生产必须 HTTPS + Web Locks,禁止 HTTP 下退化为页内串行。
|
|
# HTTP 测试环境请使用 test 模式构建(pnpm build:test,见 .env.test)。
|
|
VITE_ALLOW_INSECURE_HTTP_SSO=false
|
|
|
|
# 请求路径
|
|
VITE_BASE_URL=/
|
|
|
|
# 接口地址
|
|
VITE_API_URL=/admin-api
|
|
|
|
# 是否删除debugger
|
|
VITE_DROP_DEBUGGER=true
|
|
|
|
# 是否删除console.log
|
|
VITE_DROP_CONSOLE=true
|
|
|
|
# 是否sourcemap
|
|
VITE_SOURCEMAP=false
|
|
|
|
# 打包路径
|
|
VITE_BASE_PATH=/
|
|
|
|
# 输出路径
|
|
VITE_OUT_DIR=dist-prod
|
|
|
|
# GoView域名
|
|
VITE_GOVIEW_URL='http://127.0.0.1:3000'
|