build(custom): 增加错误上报监控

This commit is contained in:
2023-11-21 18:26:45 +08:00
parent ba00cf26a6
commit 5c279bdbbd
20 changed files with 4592 additions and 11177 deletions

View File

@@ -1,16 +1,19 @@
# 资源公共路径,需要以 /开头和结尾
VITE_PUBLIC_PATH = '/static/mer'
VITE_PUBLIC_PATH='/'
# 是否启用MOCK
VITE_USE_MOCK = false
VITE_USE_MOCK=false
# base api
VITE_BASE_API = 'https://www.wanzhuanyongcheng.cn/store'
VITE_BASE_API='//www.wanzhuanyongcheng.cn/store'
VITE_ADMIN_API = '//www.wanzhuanyongcheng.cn'
VITE_ADMIN_API='//www.wanzhuanyongcheng.cn'
# 是否启用压缩
VITE_USE_COMPRESS = true
VITE_USE_COMPRESS=true
# 压缩类型
VITE_COMPRESS_TYPE = gzip
VITE_COMPRESS_TYPE=gzip
# 是否启用监控
VITE_SENTRY=true