chore: split dev and production deployment env
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# 测试环境构建配置
|
||||
VITE_APP_ENV_LABEL = "测试环境"
|
||||
|
||||
VITE_PUBLIC_PATH = /
|
||||
|
||||
# 测试环境路由历史模式
|
||||
VITE_ROUTER_HISTORY = "hash"
|
||||
|
||||
# 测试环境不使用 CDN,避免外部依赖影响验收
|
||||
VITE_CDN = false
|
||||
|
||||
# 测试环境默认不生成压缩产物
|
||||
VITE_COMPRESSION = "none"
|
||||
|
||||
# 本地调试 test mode 时的后端代理目标;线上测试环境由 Nginx 将 /api 代理到测试后端。
|
||||
VITE_API_PROXY_TARGET = "http://localhost:3501"
|
||||
Reference in New Issue
Block a user