2024-09-02 07:40:26 +08:00
|
|
|
|
# 生产环境:只在打包时使用
|
|
|
|
|
NODE_ENV=production
|
|
|
|
|
|
|
|
|
|
VITE_DEV=false
|
|
|
|
|
|
|
|
|
|
# 请求路径
|
|
|
|
|
VITE_BASE_URL='http://localhost:48080'
|
|
|
|
|
|
|
|
|
|
# 文件上传类型:server - 后端上传, client - 前端直连上传,仅支持S3服务
|
|
|
|
|
VITE_UPLOAD_TYPE=server
|
|
|
|
|
# 上传路径
|
|
|
|
|
VITE_UPLOAD_URL='http://localhost:48080/admin-api/infra/file/upload'
|
|
|
|
|
|
|
|
|
|
# 接口地址
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
|
# 商城H5会员端域名
|
2024-09-10 14:26:28 +08:00
|
|
|
|
VITE_MALL_H5_DOMAIN='http://mall.yskj.iocoder.cn'
|