15 lines
372 B
Plaintext
15 lines
372 B
Plaintext
|
# 预发布也需要生产环境的行为
|
||
|
# 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
|