You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
372 B
14 lines
372 B
# 预发布也需要生产环境的行为
|
|
# https://cn.vitejs.dev/guide/env-and-mode.html#modes
|
|
NODE_ENV=production
|
|
|
|
VITE_PUBLIC_PATH = /
|
|
|
|
# 线上环境路由历史模式
|
|
VITE_ROUTER_HISTORY = "hash"
|
|
|
|
# 线上环境后端地址
|
|
VITE_PROXY_DOMAIN_REAL = ""
|
|
|
|
# 是否为打包后的文件提供传统浏览器兼容性支持 支持 true 不支持 false
|
|
VITE_LEGACY = false
|