2024-06-06 09:20:53 +08:00
|
|
|
# 变量必须以 VITE_ 为前缀才能暴露给外部读取
|
|
|
|
NODE_ENV = 'production'
|
|
|
|
# 是否去除console 和 debugger
|
|
|
|
VITE_DELETE_CONSOLE = true
|
|
|
|
# 是否开启sourcemap
|
|
|
|
VITE_SHOW_SOURCEMAP = false
|
2024-06-07 18:50:33 +08:00
|
|
|
|
2024-07-19 18:21:53 +08:00
|
|
|
# VITE_APP_PUBLIC_BASE = ./
|
2024-06-27 19:15:18 +08:00
|
|
|
# 测试线上
|
2024-08-27 18:28:33 +08:00
|
|
|
VITE_SERVER_BASEURL = 'https://gateway.dev.cdlsxd.cn'
|
2024-06-27 19:15:18 +08:00
|
|
|
# 正式环境
|
2024-08-27 18:28:33 +08:00
|
|
|
# VITE_SERVER_BASEURL = 'https://scens.h5.86698.cn'
|
2024-06-27 19:15:18 +08:00
|
|
|
|
2024-07-17 18:24:07 +08:00
|
|
|
# VITE_APP_PROXY = true
|
2024-06-27 19:15:18 +08:00
|
|
|
# 测试线上
|
2024-08-27 18:28:33 +08:00
|
|
|
VITE_APP_PROXY_PREFIX = 'https://gateway.dev.cdlsxd.cn'
|
2024-06-27 19:15:18 +08:00
|
|
|
# 正式环境
|
2024-08-27 18:28:33 +08:00
|
|
|
# VITE_APP_PROXY_PREFIX = 'https://scens.h5.86698.cn'
|